aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/-moz-user-input/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/css/-moz-user-input/index.md')
-rw-r--r--files/ja/web/css/-moz-user-input/index.md71
1 files changed, 71 insertions, 0 deletions
diff --git a/files/ja/web/css/-moz-user-input/index.md b/files/ja/web/css/-moz-user-input/index.md
new file mode 100644
index 0000000000..aba350c66b
--- /dev/null
+++ b/files/ja/web/css/-moz-user-input/index.md
@@ -0,0 +1,71 @@
+---
+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
+---
+<div>{{CSSRef}}{{Non-standard_Header}}{{Deprecated_Header(60)}}</div>
+
+<p>Mozilla アプリケーションでは、 <strong><code>-moz-user-input</code></strong> はある要素がユーザの入力を受け付けるかどうかを決定します。</p>
+
+<pre class="brush:css">/* キーワード値 */
+-moz-user-input: none;
+-moz-user-input: enabled;
+-moz-user-input: disabled;
+
+/* グローバル値 */
+-moz-user-input: inherit;
+-moz-user-input: initial;
+-moz-user-input: unset;
+</pre>
+
+<p>{{HTMLElement("textarea")}} のようなユーザーからの入力を通常受け付ける要素では <code>-moz-user-input</code> の初期値は <code>enabled</code> です。</p>
+
+<div class="note">
+<p><strong>メモ:</strong> <code>-moz-user-input</code> は、 CSS 3 {{cssxref("user-input")}} プロパティの先行実装案の一つでしたが、これはまだ (実装を要求する) 勧告候補に達していません。類似のプロパティ <code>user-focus</code> が <a href="http://www.w3.org/TR/2000/WD-css3-userint-20000216">CSS3 UI 仕様の前身であった初期の草稿</a> で提案されましたが、ワーキンググループによって却下されました。</p>
+</div>
+
+<p>{{CSSInfo}}</p>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<h3 id="Values" name="Values">値</h3>
+
+<dl>
+ <dt>none</dt>
+ <dd>要素はユーザーからの入力に反応せず {{CSSxRef(":active")}} にならない。</dd>
+ <dt>enabled</dt>
+ <dd>要素はユーザーからの入力を受け付ける。テキストボックスではこれが標準の動作。<strong>この値は Firefox 60 以降は対応していませんので注意してください ({{bug(1405087)}})。</strong></dd>
+ <dt>disabled</dt>
+ <dd>要素はユーザーからの入力を受け付けない。しかし、これは {{XULAttr("disabled")}} を true にするのとは等しくなく、要素は普通に (無効にならずに) 描画される。<strong>この値は Firefox 60 以降でサポートしませんので注意してください ({{bug(1405087)}})。</strong></dd>
+</dl>
+
+<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3>
+
+{{CSSSyntax}}
+
+<h2 id="Examples" name="Examples">例</h2>
+
+<pre class="brush:css">input.example {
+ /* ユーザーはテキストの選択はできますが変更はできません。 */
+ -moz-user-input: disabled;
+}
+</pre>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
+
+<p>{{Compat("css.properties.-moz-user-input")}}</p>
+
+<h2 id="See_also" name="See_also">関連情報</h2>
+
+<ul>
+ <li>{{CSSxRef("-moz-user-focus")}}</li>
+ <li>{{CSSxRef("-moz-user-modify")}}</li>
+ <li>{{CSSxRef("-moz-user-select")}}</li>
+</ul>