From ff9ea0cf9f0ea6217deefa7ad0dba35bf7f6c45e Mon Sep 17 00:00:00 2001 From: MDN Date: Thu, 8 Jul 2021 00:34:19 +0000 Subject: [CRON] sync translated content --- files/ja/_redirects.txt | 15 +- files/ja/_wikihistory.json | 50 +++---- .../web/api/htmlorforeignelement/blur/index.html | 89 ++++++++++++ .../web/api/htmlorforeignelement/focus/index.html | 161 +++++++++++++++++++++ .../web/api/htmlorforeignelement/index.html | 59 ++++++++ .../web/api/htmlorforeignelement/blur/index.html | 88 ----------- .../web/api/htmlorforeignelement/focus/index.html | 160 -------------------- files/ja/web/api/htmlorforeignelement/index.html | 58 -------- 8 files changed, 343 insertions(+), 337 deletions(-) create mode 100644 files/ja/orphaned/web/api/htmlorforeignelement/blur/index.html create mode 100644 files/ja/orphaned/web/api/htmlorforeignelement/focus/index.html create mode 100644 files/ja/orphaned/web/api/htmlorforeignelement/index.html delete mode 100644 files/ja/web/api/htmlorforeignelement/blur/index.html delete mode 100644 files/ja/web/api/htmlorforeignelement/focus/index.html delete mode 100644 files/ja/web/api/htmlorforeignelement/index.html (limited to 'files/ja') diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt index ed20668cc1..034441a7e9 100644 --- a/files/ja/_redirects.txt +++ b/files/ja/_redirects.txt @@ -1477,7 +1477,7 @@ /ja/docs/DOM/element.appendChild /ja/docs/Web/API/Node/appendChild /ja/docs/DOM/element.attributes /ja/docs/Web/API/Element/attributes /ja/docs/DOM/element.baseURIObject /ja/docs/Web/API/Node -/ja/docs/DOM/element.blur /ja/docs/Web/API/HTMLOrForeignElement/blur +/ja/docs/DOM/element.blur /ja/docs/orphaned/Web/API/HTMLOrForeignElement/blur /ja/docs/DOM/element.childNodes /ja/docs/Web/API/Node/childNodes /ja/docs/DOM/element.classList /ja/docs/Web/API/Element/classList /ja/docs/DOM/element.className /ja/docs/Web/API/Element/className @@ -1490,7 +1490,7 @@ /ja/docs/DOM/element.dir /ja/docs/Web/API/HTMLElement/dir /ja/docs/DOM/element.dispatchEvent /ja/docs/Web/API/EventTarget/dispatchEvent /ja/docs/DOM/element.firstChild /ja/docs/Web/API/Node/firstChild -/ja/docs/DOM/element.focus /ja/docs/Web/API/HTMLOrForeignElement/focus +/ja/docs/DOM/element.focus /ja/docs/orphaned/Web/API/HTMLOrForeignElement/focus /ja/docs/DOM/element.getAttribute /ja/docs/Web/API/Element/getAttribute /ja/docs/DOM/element.getAttributeNS /ja/docs/Web/API/Element/getAttributeNS /ja/docs/DOM/element.getAttributeNode /ja/docs/Web/API/Element/getAttributeNode @@ -3820,9 +3820,9 @@ /ja/docs/Web/API/Geolocation/Using_geolocation /ja/docs/Web/API/Geolocation_API /ja/docs/Web/API/GlobalFetch /en-US/docs/Web/API/WindowOrWorkerGlobalScope /ja/docs/Web/API/GlobalFetch/fetch /ja/docs/Web/API/WindowOrWorkerGlobalScope/fetch -/ja/docs/Web/API/HTMLElement/blur /ja/docs/Web/API/HTMLOrForeignElement/blur +/ja/docs/Web/API/HTMLElement/blur /ja/docs/orphaned/Web/API/HTMLOrForeignElement/blur /ja/docs/Web/API/HTMLElement/dataset /ja/docs/orphaned/Web/API/HTMLOrForeignElement/dataset -/ja/docs/Web/API/HTMLElement/focus /ja/docs/Web/API/HTMLOrForeignElement/focus +/ja/docs/Web/API/HTMLElement/focus /ja/docs/orphaned/Web/API/HTMLOrForeignElement/focus /ja/docs/Web/API/HTMLElement/forceSpellCheck /ja/docs/orphaned/Web/API/HTMLElement/forceSpellCheck /ja/docs/Web/API/HTMLElement/nonce /ja/docs/orphaned/Web/API/HTMLOrForeignElement/nonce /ja/docs/Web/API/HTMLElement/style /ja/docs/orphaned/Web/API/ElementCSSInlineStyle/style @@ -3853,7 +3853,10 @@ /ja/docs/Web/API/HTMLHyperlinkElementUtils/username /ja/docs/Web/API/HTMLAnchorElement/username /ja/docs/Web/API/HTMLIFrameElement.getVisible /ja/docs/Web/API/HTMLIFrameElement/getVisible /ja/docs/Web/API/HTMLIFrameElement.stop /ja/docs/Web/API/HTMLIFrameElement/stop +/ja/docs/Web/API/HTMLOrForeignElement /ja/docs/orphaned/Web/API/HTMLOrForeignElement +/ja/docs/Web/API/HTMLOrForeignElement/blur /ja/docs/orphaned/Web/API/HTMLOrForeignElement/blur /ja/docs/Web/API/HTMLOrForeignElement/dataset /ja/docs/orphaned/Web/API/HTMLOrForeignElement/dataset +/ja/docs/Web/API/HTMLOrForeignElement/focus /ja/docs/orphaned/Web/API/HTMLOrForeignElement/focus /ja/docs/Web/API/HTMLOrForeignElement/nonce /ja/docs/orphaned/Web/API/HTMLOrForeignElement/nonce /ja/docs/Web/API/HTMLOrForeignElement/tabIndex /ja/docs/orphaned/Web/API/HTMLOrForeignElement/tabIndex /ja/docs/Web/API/HTMLTableElement.align /ja/docs/Web/API/HTMLTableElement/align @@ -4108,11 +4111,11 @@ /ja/docs/Web/API/document.write /ja/docs/Web/API/Document/write /ja/docs/Web/API/document.writeln /ja/docs/Web/API/Document/writeln /ja/docs/Web/API/document.xmlVersion /ja/docs/Web/API/Document/xmlVersion -/ja/docs/Web/API/element.blur /ja/docs/Web/API/HTMLOrForeignElement/blur +/ja/docs/Web/API/element.blur /ja/docs/orphaned/Web/API/HTMLOrForeignElement/blur /ja/docs/Web/API/element.className /ja/docs/Web/API/Element/className /ja/docs/Web/API/element.clientTop /ja/docs/Web/API/Element/clientTop /ja/docs/Web/API/element.dir /ja/docs/Web/API/HTMLElement/dir -/ja/docs/Web/API/element.focus /ja/docs/Web/API/HTMLOrForeignElement/focus +/ja/docs/Web/API/element.focus /ja/docs/orphaned/Web/API/HTMLOrForeignElement/focus /ja/docs/Web/API/element.getAttribute /ja/docs/Web/API/Element/getAttribute /ja/docs/Web/API/element.getBoundingClientRect /ja/docs/Web/API/Element/getBoundingClientRect /ja/docs/Web/API/element.hasAttribute /ja/docs/Web/API/Element/hasAttribute diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json index 8e442ad50d..e71911f061 100644 --- a/files/ja/_wikihistory.json +++ b/files/ja/_wikihistory.json @@ -17029,31 +17029,6 @@ "mfuji09" ] }, - "Web/API/HTMLOrForeignElement": { - "modified": "2020-10-15T22:28:17.699Z", - "contributors": [ - "mfuji09" - ] - }, - "Web/API/HTMLOrForeignElement/blur": { - "modified": "2020-10-15T21:21:43.979Z", - "contributors": [ - "mfuji09", - "Wind1808", - "fscholz", - "ethertank" - ] - }, - "Web/API/HTMLOrForeignElement/focus": { - "modified": "2020-10-15T21:21:41.786Z", - "contributors": [ - "mfuji09", - "Wind1808", - "fscholz", - "Hasilt", - "ethertank" - ] - }, "Web/API/HTMLOutputElement": { "modified": "2020-10-15T21:18:44.480Z", "contributors": [ @@ -51739,6 +51714,21 @@ "Wind1808" ] }, + "orphaned/Web/API/HTMLOrForeignElement": { + "modified": "2020-10-15T22:28:17.699Z", + "contributors": [ + "mfuji09" + ] + }, + "orphaned/Web/API/HTMLOrForeignElement/blur": { + "modified": "2020-10-15T21:21:43.979Z", + "contributors": [ + "mfuji09", + "Wind1808", + "fscholz", + "ethertank" + ] + }, "orphaned/Web/API/HTMLOrForeignElement/dataset": { "modified": "2020-10-15T21:36:48.934Z", "contributors": [ @@ -51748,6 +51738,16 @@ "Kenju" ] }, + "orphaned/Web/API/HTMLOrForeignElement/focus": { + "modified": "2020-10-15T21:21:41.786Z", + "contributors": [ + "mfuji09", + "Wind1808", + "fscholz", + "Hasilt", + "ethertank" + ] + }, "orphaned/Web/API/HTMLOrForeignElement/nonce": { "modified": "2020-10-15T22:22:13.107Z", "contributors": [ diff --git a/files/ja/orphaned/web/api/htmlorforeignelement/blur/index.html b/files/ja/orphaned/web/api/htmlorforeignelement/blur/index.html new file mode 100644 index 0000000000..4d27786f8d --- /dev/null +++ b/files/ja/orphaned/web/api/htmlorforeignelement/blur/index.html @@ -0,0 +1,89 @@ +--- +title: HTMLElement.blur() +slug: orphaned/Web/API/HTMLOrForeignElement/blur +tags: + - API + - HTML DOM + - HTMLElement + - Method + - Reference +translation_of: Web/API/HTMLOrForeignElement/blur +original_slug: Web/API/HTMLOrForeignElement/blur +--- +
{{ APIRef("HTML DOM") }}
+ +

HTMLElement.blur() メソッドは、現在の要素からキーボードフォーカスを取り除きます。

+ +

構文

+ +
element.blur();
+ +

+ +

テキスト入力からフォーカスを取り除く

+ +

HTML

+ +
<input type="text" id="myText" value="サンプルテキスト">
+<br><br>
+<button type="button" onclick="focusInput()">クリックするとフォーカスを得ます</button>
+<button type="button" onclick="blurInput()">クリックするとフォーカスを失います</button>
+ +

JavaScript

+ +
function focusInput() {
+  document.getElementById('myText').focus();
+}
+function blurInput() {
+  document.getElementById('myText').blur();
+}
+ +

結果

+ +

{{ EmbedLiveSample('Remove_focus_from_a_text_input') }}

+ +

仕様

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('HTML WHATWG', 'editing.html#dom-blur', 'blur')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5.1', 'editing.html#blur()-0', 'blur')}}{{Spec2('HTML5.1')}}
{{SpecName('HTML5 W3C', 'editing.html#dom-blur', 'blur')}}{{Spec2('HTML5 W3C')}}
{{SpecName('DOM2 HTML', 'html.html#ID-28216144', 'blur')}}{{Spec2('DOM2 HTML')}}
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.HTMLElement.blur")}}

+ +

関連情報

+ + diff --git a/files/ja/orphaned/web/api/htmlorforeignelement/focus/index.html b/files/ja/orphaned/web/api/htmlorforeignelement/focus/index.html new file mode 100644 index 0000000000..b611f9aa1c --- /dev/null +++ b/files/ja/orphaned/web/api/htmlorforeignelement/focus/index.html @@ -0,0 +1,161 @@ +--- +title: HTMLElement.focus() +slug: orphaned/Web/API/HTMLOrForeignElement/focus +tags: + - API + - Focus + - HTML DOM + - HTMLElement + - Method + - Reference + - Scroll + - View + - activate +translation_of: Web/API/HTMLOrForeignElement/focus +original_slug: Web/API/HTMLOrForeignElement/focus +--- +
{{ APIRef("HTML DOM") }}
+ +

HTMLElement.focus() メソッドは、指定された要素にフォーカスを設定できる場合、フォーカスを設定します。 フォーカスされた要素は、デフォルトでキーボードや同様のイベントを受け取る要素です。

+ +

構文

+ +
element.focus(options); // Object parameter
+ +

パラメーター

+ +
+
options {{optional_inline}}
+
フォーカスプロセスの側面を制御するオプションを提供するオプションのオブジェクト。 このオブジェクトには、次のプロパティが含まれる場合があります。
+
+
+
preventScroll {{optional_inline}}
+
ブラウザーがドキュメントをスクロールして、新しくフォーカスされた要素を表示するかどうかを示す Boolean の値。 preventScroll の値が false(デフォルト)の場合、ブラウザーは要素をフォーカスした後、その要素をスクロールして表示します。 preventScrolltrue に設定されている場合、スクロールしません。
+
+
+
+ +

+ +

テキストフィールドにフォーカスする

+ +

JavaScript

+ +
focusMethod = function getFocus() {
+  document.getElementById("myTextField").focus();
+}
+ +

HTML

+ +
<input type="text" id="myTextField" value="テキストフィールド">
+<p></p>
+<button type="button" onclick="focusMethod()">クリックしてテキストフィールドにフォーカスしてください!</button>
+
+ +

結果

+ +

{{ EmbedLiveSample('Focus_on_a_text_field') }}

+ +

ボタンにフォーカスする

+ +

JavaScript

+ +
focusMethod = function getFocus() {
+  document.getElementById("myButton").focus();
+}
+
+ +

HTML

+ +
<button type="button" id="myButton">クリックしてください!</button>
+<p></p>
+<button type="button" onclick="focusMethod()">クリックしてボタンにフォーカスしてください!</button>
+
+ +

結果

+ +

{{ EmbedLiveSample('Focus_on_a_button') }}

+ +

focusOption でフォーカスする

+ +

JavaScript

+ +
focusScrollMethod = function getFocus() {
+  document.getElementById("myButton").focus({preventScroll:false});
+}
+focusNoScrollMethod = function getFocusWithoutScrolling() {
+  document.getElementById("myButton").focus({preventScroll:true});
+}
+
+
+ +

HTML

+ +
<button type="button" onclick="focusScrollMethod()">クリックしてボタンにフォーカスしてください!</button>
+<button type="button" onclick="focusNoScrollMethod()">クリックしてスクロールせずにボタンにフォーカスしてください!</button>
+
+<div id="container" style="height: 1000px; width: 1000px;">
+<button type="button" id="myButton" style="margin-top: 500px;">クリックしてください!</button>
+</div>
+
+
+ +

結果

+ +

{{ EmbedLiveSample('Focus_prevent_scroll') }}

+ +

仕様

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('HTML WHATWG', 'editing.html#dom-focus', 'focus')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5.1', 'editing.html#focus()-0', 'focus')}}{{Spec2('HTML5.1')}}
{{SpecName('HTML5 W3C', 'editing.html#dom-focus', 'focus')}}{{Spec2('HTML5 W3C')}}
{{SpecName('DOM2 HTML', 'html.html#ID-32130014', 'focus')}}{{Spec2('DOM2 HTML')}}
{{SpecName('DOM1', 'level-one-html.html#method-focus', 'focus')}}{{Spec2('DOM1')}}
+ +

ノート

+ +

mousedown イベントハンドラから HTMLElement.focus() を呼び出す場合は、event.preventDefault() を呼び出して、フォーカスがその HTMLElement から離れないようにする必要があります。

+ +

ブラウザーの互換性

+ + + +

{{Compat("api.HTMLElement.focus")}}

+ +

関連情報

+ + diff --git a/files/ja/orphaned/web/api/htmlorforeignelement/index.html b/files/ja/orphaned/web/api/htmlorforeignelement/index.html new file mode 100644 index 0000000000..8fc2702a71 --- /dev/null +++ b/files/ja/orphaned/web/api/htmlorforeignelement/index.html @@ -0,0 +1,59 @@ +--- +title: HTMLOrForeignElement +slug: orphaned/Web/API/HTMLOrForeignElement +tags: + - API + - HTML + - HTMLElement + - HTMLOrForeignElement + - Interface + - MathML + - MathMLElement + - Mixin + - Reference + - SVG + - SVGElement + - ミックスイン +translation_of: Web/API/HTMLOrForeignElement +original_slug: Web/API/HTMLOrForeignElement +--- +
{{APIRef("HTML DOM")}}{{Draft}}
+ +

HTMLOrForeignElement ミックスインは、 {{DOMxRef("HTMLElement")}}, {{DOMxRef("SVGElement")}}, {{DOMxRef("MathMLElement")}} の各インターフェイスで共通のいくつかの機能を説明します。これらのインターフェイスは、もちろん、以下の列挙したものに加えたものに加えてもっと機能があります。

+ +
+

メモ: HTMLOrForeignElement はミックスインであり、インターフェイスではありません。実際に HTMLOrForeignElement 型のオブジェクトを生成することはできません。

+
+ +
{{InterfaceOverview("HTML DOM")}}
+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("HTML WHATWG", "dom.html#htmlorsvgelement", 'HTMLOrForeignElement')}}{{Spec2('HTML WHATWG')}}初回定義
+ +

ブラウザーの互換性

+ +

{{Compat("api.HTMLOrForeignElement")}}

+ +

関連情報

+ + diff --git a/files/ja/web/api/htmlorforeignelement/blur/index.html b/files/ja/web/api/htmlorforeignelement/blur/index.html deleted file mode 100644 index 8a9cea1f8c..0000000000 --- a/files/ja/web/api/htmlorforeignelement/blur/index.html +++ /dev/null @@ -1,88 +0,0 @@ ---- -title: HTMLElement.blur() -slug: Web/API/HTMLOrForeignElement/blur -tags: - - API - - HTML DOM - - HTMLElement - - Method - - Reference -translation_of: Web/API/HTMLOrForeignElement/blur ---- -
{{ APIRef("HTML DOM") }}
- -

HTMLElement.blur() メソッドは、現在の要素からキーボードフォーカスを取り除きます。

- -

構文

- -
element.blur();
- -

- -

テキスト入力からフォーカスを取り除く

- -

HTML

- -
<input type="text" id="myText" value="サンプルテキスト">
-<br><br>
-<button type="button" onclick="focusInput()">クリックするとフォーカスを得ます</button>
-<button type="button" onclick="blurInput()">クリックするとフォーカスを失います</button>
- -

JavaScript

- -
function focusInput() {
-  document.getElementById('myText').focus();
-}
-function blurInput() {
-  document.getElementById('myText').blur();
-}
- -

結果

- -

{{ EmbedLiveSample('Remove_focus_from_a_text_input') }}

- -

仕様

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('HTML WHATWG', 'editing.html#dom-blur', 'blur')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5.1', 'editing.html#blur()-0', 'blur')}}{{Spec2('HTML5.1')}}
{{SpecName('HTML5 W3C', 'editing.html#dom-blur', 'blur')}}{{Spec2('HTML5 W3C')}}
{{SpecName('DOM2 HTML', 'html.html#ID-28216144', 'blur')}}{{Spec2('DOM2 HTML')}}
- -

ブラウザーの互換性

- - - -

{{Compat("api.HTMLElement.blur")}}

- -

関連情報

- - diff --git a/files/ja/web/api/htmlorforeignelement/focus/index.html b/files/ja/web/api/htmlorforeignelement/focus/index.html deleted file mode 100644 index 2680fd8658..0000000000 --- a/files/ja/web/api/htmlorforeignelement/focus/index.html +++ /dev/null @@ -1,160 +0,0 @@ ---- -title: HTMLElement.focus() -slug: Web/API/HTMLOrForeignElement/focus -tags: - - API - - Focus - - HTML DOM - - HTMLElement - - Method - - Reference - - Scroll - - View - - activate -translation_of: Web/API/HTMLOrForeignElement/focus ---- -
{{ APIRef("HTML DOM") }}
- -

HTMLElement.focus() メソッドは、指定された要素にフォーカスを設定できる場合、フォーカスを設定します。 フォーカスされた要素は、デフォルトでキーボードや同様のイベントを受け取る要素です。

- -

構文

- -
element.focus(options); // Object parameter
- -

パラメーター

- -
-
options {{optional_inline}}
-
フォーカスプロセスの側面を制御するオプションを提供するオプションのオブジェクト。 このオブジェクトには、次のプロパティが含まれる場合があります。
-
-
-
preventScroll {{optional_inline}}
-
ブラウザーがドキュメントをスクロールして、新しくフォーカスされた要素を表示するかどうかを示す Boolean の値。 preventScroll の値が false(デフォルト)の場合、ブラウザーは要素をフォーカスした後、その要素をスクロールして表示します。 preventScrolltrue に設定されている場合、スクロールしません。
-
-
-
- -

- -

テキストフィールドにフォーカスする

- -

JavaScript

- -
focusMethod = function getFocus() {
-  document.getElementById("myTextField").focus();
-}
- -

HTML

- -
<input type="text" id="myTextField" value="テキストフィールド">
-<p></p>
-<button type="button" onclick="focusMethod()">クリックしてテキストフィールドにフォーカスしてください!</button>
-
- -

結果

- -

{{ EmbedLiveSample('Focus_on_a_text_field') }}

- -

ボタンにフォーカスする

- -

JavaScript

- -
focusMethod = function getFocus() {
-  document.getElementById("myButton").focus();
-}
-
- -

HTML

- -
<button type="button" id="myButton">クリックしてください!</button>
-<p></p>
-<button type="button" onclick="focusMethod()">クリックしてボタンにフォーカスしてください!</button>
-
- -

結果

- -

{{ EmbedLiveSample('Focus_on_a_button') }}

- -

focusOption でフォーカスする

- -

JavaScript

- -
focusScrollMethod = function getFocus() {
-  document.getElementById("myButton").focus({preventScroll:false});
-}
-focusNoScrollMethod = function getFocusWithoutScrolling() {
-  document.getElementById("myButton").focus({preventScroll:true});
-}
-
-
- -

HTML

- -
<button type="button" onclick="focusScrollMethod()">クリックしてボタンにフォーカスしてください!</button>
-<button type="button" onclick="focusNoScrollMethod()">クリックしてスクロールせずにボタンにフォーカスしてください!</button>
-
-<div id="container" style="height: 1000px; width: 1000px;">
-<button type="button" id="myButton" style="margin-top: 500px;">クリックしてください!</button>
-</div>
-
-
- -

結果

- -

{{ EmbedLiveSample('Focus_prevent_scroll') }}

- -

仕様

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('HTML WHATWG', 'editing.html#dom-focus', 'focus')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5.1', 'editing.html#focus()-0', 'focus')}}{{Spec2('HTML5.1')}}
{{SpecName('HTML5 W3C', 'editing.html#dom-focus', 'focus')}}{{Spec2('HTML5 W3C')}}
{{SpecName('DOM2 HTML', 'html.html#ID-32130014', 'focus')}}{{Spec2('DOM2 HTML')}}
{{SpecName('DOM1', 'level-one-html.html#method-focus', 'focus')}}{{Spec2('DOM1')}}
- -

ノート

- -

mousedown イベントハンドラから HTMLElement.focus() を呼び出す場合は、event.preventDefault() を呼び出して、フォーカスがその HTMLElement から離れないようにする必要があります。

- -

ブラウザーの互換性

- - - -

{{Compat("api.HTMLElement.focus")}}

- -

関連情報

- - diff --git a/files/ja/web/api/htmlorforeignelement/index.html b/files/ja/web/api/htmlorforeignelement/index.html deleted file mode 100644 index 41dc389ca7..0000000000 --- a/files/ja/web/api/htmlorforeignelement/index.html +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: HTMLOrForeignElement -slug: Web/API/HTMLOrForeignElement -tags: - - API - - HTML - - HTMLElement - - HTMLOrForeignElement - - Interface - - MathML - - MathMLElement - - Mixin - - Reference - - SVG - - SVGElement - - ミックスイン -translation_of: Web/API/HTMLOrForeignElement ---- -
{{APIRef("HTML DOM")}}{{Draft}}
- -

HTMLOrForeignElement ミックスインは、 {{DOMxRef("HTMLElement")}}, {{DOMxRef("SVGElement")}}, {{DOMxRef("MathMLElement")}} の各インターフェイスで共通のいくつかの機能を説明します。これらのインターフェイスは、もちろん、以下の列挙したものに加えたものに加えてもっと機能があります。

- -
-

メモ: HTMLOrForeignElement はミックスインであり、インターフェイスではありません。実際に HTMLOrForeignElement 型のオブジェクトを生成することはできません。

-
- -
{{InterfaceOverview("HTML DOM")}}
- -

仕様書

- - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName("HTML WHATWG", "dom.html#htmlorsvgelement", 'HTMLOrForeignElement')}}{{Spec2('HTML WHATWG')}}初回定義
- -

ブラウザーの互換性

- -

{{Compat("api.HTMLOrForeignElement")}}

- -

関連情報

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