From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/css/-moz-user-input/index.html | 73 +++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 files/ja/web/css/-moz-user-input/index.html (limited to 'files/ja/web/css/-moz-user-input/index.html') diff --git a/files/ja/web/css/-moz-user-input/index.html b/files/ja/web/css/-moz-user-input/index.html new file mode 100644 index 0000000000..76816cb4e3 --- /dev/null +++ b/files/ja/web/css/-moz-user-input/index.html @@ -0,0 +1,73 @@ +--- +title: '-moz-user-input' +slug: Web/CSS/-moz-user-input +tags: + - CSS + - CSS Property + - Deprecated + - Mozilla 拡張 + - Non-standard + - Reference +translation_of: Web/CSS/-moz-user-input +--- +
{{CSSRef}}{{Non-standard_Header}}{{Deprecated_Header(60)}}
+ +

Mozilla アプリケーションでは、 -moz-user-input はある要素がユーザの入力を受け付けるかどうかを決定します。

+ +
/* キーワード値 */
+-moz-user-input: none;
+-moz-user-input: enabled;
+-moz-user-input: disabled;
+
+/* グローバル値 */
+-moz-user-input: inherit;
+-moz-user-input: initial;
+-moz-user-input: unset;
+
+ +

{{HTMLElement("textarea")}} のようなユーザーからの入力を通常受け付ける要素では -moz-user-input の初期値は enabled です。

+ +
+

メモ: -moz-user-input は、 CSS 3 {{cssxref("user-input")}} プロパティの先行実装案の一つでしたが、これはまだ (実装を要求する) 勧告候補に達していません。類似のプロパティ user-focusCSS3 UI 仕様の前身であった初期の草稿 で提案されましたが、ワーキンググループによって却下されました。

+
+ +

{{CSSInfo}}

+ +

構文

+ +

+ +
+
none
+
要素はユーザーからの入力に反応せず {{CSSxRef(":active")}} にならない。
+
enabled
+
要素はユーザーからの入力を受け付ける。テキストボックスではこれが標準の動作。この値は Firefox 60 以降は対応していませんので注意してください ({{bug(1405087)}})。
+
disabled
+
要素はユーザーからの入力を受け付けない。しかし、これは {{XULAttr("disabled")}} を true にするのとは等しくなく、要素は普通に (無効にならずに) 描画される。この値は Firefox 60 以降でサポートしませんので注意してください ({{bug(1405087)}})。
+
+ +

形式文法

+ +
{{CSSSyntax}}
+ +

+ +
input.example {
+  /* ユーザーはテキストの選択はできますが変更はできません。 */
+  -moz-user-input: disabled;
+}
+
+ +

ブラウザーの対応

+ + + +

{{Compat("css.properties.-moz-user-input")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf