From 4a573bbdd0e5945998a37162d1535245d4e20416 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 7 Sep 2021 00:29:50 +0900 Subject: Web/a-h以下の文書内のリンクURLを正規化 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正 --- files/ja/web/html/global_attributes/draggable/index.html | 2 +- files/ja/web/html/global_attributes/itemprop/index.html | 2 +- files/ja/web/html/global_attributes/slot/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'files/ja/web/html/global_attributes') diff --git a/files/ja/web/html/global_attributes/draggable/index.html b/files/ja/web/html/global_attributes/draggable/index.html index 8224f9c8d1..cfd6a4e802 100644 --- a/files/ja/web/html/global_attributes/draggable/index.html +++ b/files/ja/web/html/global_attributes/draggable/index.html @@ -22,7 +22,7 @@ translation_of: Web/HTML/Global_attributes/draggable

この属性は列挙型であり、論理型ではありません。 true または false の値が必須であり、 <img draggable> のような省略形は認められません。正しい使用法は <img draggable="false"> です。

-

この属性が設定されなかった場合の既定値は auto であり、ブラウザーの既定のドラッグ動作であることを意味します。テキストの選択範囲、画像、リンクのみがドラッグ可能です。他の要素では、ドラッグ&ドロップできるようにするためには {{domxref('GlobalEventHandlers.ondragstart','ondragstart')}} イベントを設定する必要があります (こちらの包括的なサンプルにあるように)。

+

この属性が設定されなかった場合の既定値は auto であり、ブラウザーの既定のドラッグ動作であることを意味します。テキストの選択範囲、画像、リンクのみがドラッグ可能です。他の要素では、ドラッグ&ドロップできるようにするためには {{domxref('GlobalEventHandlers.ondragstart','ondragstart')}} イベントを設定する必要があります (こちらの包括的なサンプルにあるように)。

仕様書

diff --git a/files/ja/web/html/global_attributes/itemprop/index.html b/files/ja/web/html/global_attributes/itemprop/index.html index b127c0092c..d4f3d2d173 100644 --- a/files/ja/web/html/global_attributes/itemprop/index.html +++ b/files/ja/web/html/global_attributes/itemprop/index.html @@ -301,7 +301,7 @@ translation_of: Web/HTML/Global_attributes/itemprop
  • 要素が audio, embed, iframe, img, source, track, video 要素である場合
  • 要素が a, area, link 要素である場合 diff --git a/files/ja/web/html/global_attributes/slot/index.html b/files/ja/web/html/global_attributes/slot/index.html index a59c8d7f91..95c74b04c4 100644 --- a/files/ja/web/html/global_attributes/slot/index.html +++ b/files/ja/web/html/global_attributes/slot/index.html @@ -9,7 +9,7 @@ translation_of: Web/HTML/Global_attributes/slot ---
    {{HTMLSidebar("Global_attributes")}}
    -

    slotグローバル属性で、シャドウ DOM のシャドウツリー内にあるスロットをある要素に割り当てます。 slot 属性をもつ要素は、{{htmlattrxref("name", "slot")}} 属性の値がその slot 属性の値と一致する {{HTMLElement("slot")}} 要素により生成されたスロットに割り当てられます。

    +

    slotグローバル属性で、シャドウ DOM のシャドウツリー内にあるスロットをある要素に割り当てます。 slot 属性をもつ要素は、{{htmlattrxref("name", "slot")}} 属性の値がその slot 属性の値と一致する {{HTMLElement("slot")}} 要素により生成されたスロットに割り当てられます。

    例えば、テンプレートとスロットの使用ガイドをみてください。

    -- cgit v1.2.3-54-g00ecf