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/user-modify/index.html | 89 +++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 files/ja/web/css/user-modify/index.html (limited to 'files/ja/web/css/user-modify') diff --git a/files/ja/web/css/user-modify/index.html b/files/ja/web/css/user-modify/index.html new file mode 100644 index 0000000000..d6aea5cdea --- /dev/null +++ b/files/ja/web/css/user-modify/index.html @@ -0,0 +1,89 @@ +--- +title: user-modify +slug: Web/CSS/user-modify +tags: + - CSS + - CSS プロパティ + - Deprecated + - Mozilla 拡張 + - Non-standard + - Reference + - WebKit 拡張 + - 標準外 + - 非推奨 +translation_of: Web/CSS/user-modify +--- +
{{CSSRef}}{{Non-standard_Header}}{{Deprecated_Header}}
+ +

user-modify プロパティは Firefox では効果がありません。元々は要素の内容をユーザーが編集できるかどうかを決める予定でした。

+ +
/* キーワード値 */
+user-modify: read-only;
+user-modify: read-write;
+user-modify: write-only;
+
+/* グローバル値 */
+user-modify: inherit;
+user-modify: initial;
+user-modify: unset;
+
+ +
+

このプロパティは {{HTMLAttrxRef("contenteditable")}} 属性に置き換えられました。

+
+ +

{{CSSInfo}}

+ +

構文

+ +

-moz-user-modify プロパティは、以下のリストにあるキーワード値の一つで指定します。

+ +

+ +
+
read-only
+
既定値です。内容は読み取り専用です。
+
read-write
+
ユーザーが内容を読み書きできます。
+
read-write-plaintext-only {{Non-standard_Inline}}
+
read-write と同じですが、リッチテキスト書式は失われます。
+
write-only
+
ユーザーが内容を編集できますが、読むことはできません。
+
+ +

形式文法

+ +
{{CSSSyntax}}
+ +

+ +

HTML

+ +
<div class="readwrite">The user is able to change this text.</div>
+
+ +

CSS

+ +
.readwrite {
+  -moz-user-modify: read-write;
+  -webkit-user-modify: read-write;
+}
+
+ +

仕様書

+ +

このプロパティは仕様書で定義されていません。類似のプロパティである user-focus が、 CSS3 UI 仕様書の早期の草稿で提案されましたが、作業グループによって拒絶されました。

+ +

ブラウザーの対応

+ + + +

{{Compat("css.properties.user-modify")}}

+ +

関連情報

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