From 84f302f439466b01e7d1efc6bd8fffe933ff0e7e Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 25 Jan 2022 01:54:39 +0900 Subject: Web/CSS/user-modify を移行 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/user-modify/index.html | 87 --------------------------------- files/ja/web/css/user-modify/index.md | 87 +++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+), 87 deletions(-) delete mode 100644 files/ja/web/css/user-modify/index.html create mode 100644 files/ja/web/css/user-modify/index.md (limited to 'files') diff --git a/files/ja/web/css/user-modify/index.html b/files/ja/web/css/user-modify/index.html deleted file mode 100644 index 854abb890e..0000000000 --- a/files/ja/web/css/user-modify/index.html +++ /dev/null @@ -1,87 +0,0 @@ ---- -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")}}

- -

関連情報

- - diff --git a/files/ja/web/css/user-modify/index.md b/files/ja/web/css/user-modify/index.md new file mode 100644 index 0000000000..854abb890e --- /dev/null +++ b/files/ja/web/css/user-modify/index.md @@ -0,0 +1,87 @@ +--- +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