<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="34" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[34]</anchor-end> <dfn><rubyb xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">特徴<rt xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">feature</rt></rubyb></dfn>は、 <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM</anchor> の機能群を表すものでした。
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">実装</anchor>ごとに異なる <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM API</anchor> 群を実装している環境下で<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">アプリケーション</anchor>がどの機能を使えるか判定するために使うことが想定されていました。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="35" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[35]</anchor-end> 現実には、<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">実装</anchor>が対応する機能の単位は<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">仕様書</anchor>の編集の都合で分けられた<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">特徴</anchor>ではなく、
より細かな<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">インターフェイス</anchor>や<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">メソッド</anchor>などの単位でした。
しかも、<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">実装</anchor>ごとに異なる機能群に対応するという世界観は、
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Webアプリケーション</anchor>の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">相互運用性</anchor>の向上にむしろ有害でした。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="36" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[36]</anchor-end> 結局<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">特徴</anchor>はほとんど有効に使われることなく廃止されました。</p><section><h1>仕様書</h1><refs xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><ul xmlns="http://www.w3.org/1999/xhtml"><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="20" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[20]</anchor-end> <cite xml:lang="en-US">DOM Standard</cite> (<time>2012-11-23 14:12:13 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature">http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature</anchor-external></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="22" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[22]</anchor-end> <cite>Scalable Vector Graphics (SVG) 2</cite> (<time>2012-11-29 19:07:20 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://svgwg.org/svg2-draft/single-page.html#chapter-feature">https://svgwg.org/svg2-draft/single-page.html#chapter-feature</anchor-external></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="23" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[23]</anchor-end> <cite>Scalable Vector Graphics (SVG) 2</cite> (<time>2012-11-29 19:07:20 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://svgwg.org/svg2-draft/single-page.html#svgdom-FeatureStrings">https://svgwg.org/svg2-draft/single-page.html#svgdom-FeatureStrings</anchor-external></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="24" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[24]</anchor-end> <cite>Scalable Vector Graphics (SVG) 2</cite> (<time>2012-11-29 19:07:20 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://svgwg.org/svg2-draft/single-page.html#struct-ConditionalProcessingRequiredFeaturesAttribute">https://svgwg.org/svg2-draft/single-page.html#struct-ConditionalProcessingRequiredFeaturesAttribute</anchor-external></li></ul></refs></section><section><h1>構文</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> 機能名では、大文字・小文字は区別されません <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 1 <abbr xmlns="http://www.w3.org/1999/xhtml">FE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">First Edition</title></abbr> <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code>, DOM 1 <abbr xmlns="http://www.w3.org/1999/xhtml">SE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Second Edition</title></abbr> <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code>, DOM 2 Core <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code>, DOM 3 Core 1.3.6</src>。</p><p>DOM 1 <abbr>FE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">First Edition</title></abbr> では、 <samp class="DOM">HTML</samp> と <samp class="DOM">XML</samp> 
の2つの値だけが認められていました
<src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 1 <abbr xmlns="http://www.w3.org/1999/xhtml">FE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">First Edition</title></abbr> <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code></src>。
DOM 1 <abbr>SE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Second Edition</title></abbr> と DOM 2 は、
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">XML 1.0</anchor> の <code class="ABNF"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Name</anchor></code> でなければならないとしています
<src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 1 <abbr xmlns="http://www.w3.org/1999/xhtml">SE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Second Edition</title></abbr> <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code>, DOM 2 Core <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code></src>。
DOM 3 にはこのような制限はないようです。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="9" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[9]</anchor-end>
<anchor-internal xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">&gt;&gt;3</anchor-internal> だけしか規定がないようですが、
<code class="DOMp"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">features</anchor></code> で使い物になる値にしたければ、次の配慮が必要です。<ul><li>最初の1文字に <code class="char">+</code> を使わない</li><li><code class="char"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SP</anchor></code> を使わない</li><li>名前は数字からはじめない。
版は数字からはじめる。</li></ul></p><p>版は、メソッドの引数として使われるところで <q>version number</q>
とされていますから、数しか認められないと思われます。
DOM 1 では <samp class="DOM">1.0</samp> だけ、 DOM 2 では <samp class="DOM">1.0</samp> と
<samp class="DOM">2.0</samp> だけが指定できるとされていました
<src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 1 <abbr xmlns="http://www.w3.org/1999/xhtml">FE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">First Edition</title></abbr> <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code>, DOM 1 <abbr xmlns="http://www.w3.org/1999/xhtml">SE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Second Edition</title></abbr> <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code>, DOM 2 Core <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code></src>。
DOM 3 ではそのような制限はないようです。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="11" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[11]</anchor-end> 
衝突の虞を防ぐため、 DOM 仕様書以外で定義する機能の名前は固有にするべきです。
衝突を防ぐ方法として、以前は<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">逆ドメイン名</anchor>を使うべきとされていました
<src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 1 <abbr xmlns="http://www.w3.org/1999/xhtml">SE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Second Edition</title></abbr> <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code>, DOM 2 Core <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code></src> が、
後に DOM 仕様書の規定外に改められました <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 2 Errata core-5, DOM 3 Core 1.3.6</src>。</p><p><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SVG 1.0</anchor> の DOM は逆ドメイン名の機能名を使っていましたが、
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SVG 1.1</anchor> では <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">URI参照</anchor>を使っています。 SVG の DOM
以外の機能名やプログラム言語・ライブラリ等で機能名を識別するために
URI 参照が使われることが増えており、そのため逆ドメイン名より自由度が高い
URI 参照を使えるようにと DOM の規定も変更されたのでしょう。</p></section><section><h1>引数 features (DOM)</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="29" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[29]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM</anchor> の幾つかの<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">メソッド</anchor>には、
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">機能</anchor>を指定する引数 <dfn><code class="DOMp">features</code></dfn>
があります。</p><p>この引数は、必要な機能の名前と版を含んだ文字列 (<code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOMString</anchor></code>)
です。</p><ul><li><code class="ABNF"><dfn><code class="DOMp">features</code></dfn> := feature *(space feature)</code><ul><li>全体が空 (つまり空文字列) でも良いのかは不明。良いとは書かれていない。</li><li><code class="ABNF">space</code> が <code class="char"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SP</anchor></code> だけか、
<code class="char"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">TAB</anchor></code> などでもよいのかは不明。良いとは書かれていない。</li><li><code class="ABNF">space</code> が複数個でも良いのか、全体の前後にあっても良いのかは不明。
良いとは書かれていない。</li></ul></li><li><code class="ABNF"><dfn>feature</dfn> := [&quot;+&quot;] feature-name [space feature-version] </code><ul><li><code class="ABNF">space</code> は一つ (<q a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-getDOMImpl">a space</q>)。</li><li><code class="char">+</code> が付いている場合はその機能が
<code class="DOM"><code class="DOMi"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Node</anchor></code>.<code class="DOMm"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">getFeature</anchor></code> ()</code>
および <code class="DOM"><code class="DOMi"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOMImplementation</anchor></code>.<code class="DOMm">getFeature</code> ()</code>
から access 可能でなければなりません。</li><li>そういえば <code class="ABNF">feature-name</code> と <code class="ABNF">feature-version</code>
の値域は規定されていません。どちらも <code class="ABNF">space</code>
は含まないし、先頭に <code class="char">+</code> が来ないし、
<code class="ABNF">feature-version</code> は数字から始まるが <code class="ABNF">feature-name</code>
は数字から始まらない、くらいの仮定がないと困ります。</li></ul></li></ul><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="30" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[30]</anchor-end> 仕様書:<ul><li>[DOM 3]<ul><li>Core 1.3.6 DOM Features
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#DOMFeatures&quot;">IW:DOM3:&quot;Core/core.html#DOMFeatures&quot;</anchor-external></li><li>Core <code class="DOMm"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">getDOMImplementation</anchor></code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#ID-getDOMImpl&quot;">IW:DOM3:&quot;Core/core.html#ID-getDOMImpl&quot;</anchor-external></li><li>Core <code class="DOMm"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">getDOMImplementationList</anchor></code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#ID-getDOMImpls&quot;">IW:DOM3:&quot;Core/core.html#ID-getDOMImpls&quot;</anchor-external></li></ul></li></ul></p><example xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><p xmlns="http://www.w3.org/1999/xhtml"><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="31" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[31]</anchor-end> <samp class="DOM">XML 3.0 Traversal +Events 2.0</samp>
は <q><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">XML</anchor> モジュール (3.0 版)、 <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Traversal</anchor> モジュール (版任意) に対応していて、 <code class="DOMm">getFeature</code> を使って <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Events</anchor> モジュール (2.0 版) が利用可能</q>を表します。</p></example></section><section><h1>既知の値</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end><table><tbody><tr><td>機能名</td><td>版</td><td>説明</td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Core</anchor></code></td><td><code class="DOM">2.0</code></td><td>Core Module (Level 2) <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 2 Core 1.2</src></td><td>DOM 3 Core 1.4]]</td></tr><tr><td><code class="DOM">Core</code></td><td><code class="DOM">3.0</code></td><td>Core Module (Level 3) <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 3 Core 1.4</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DDE-T</anchor></code></td><td><code class="DOM">1.0</code></td><td><src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DDE</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTML</anchor></code></td><td><code class="DOM">1.0</code></td><td>HTML Module (Level 1) <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 1 2.1</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">org.atsc.dom.core</anchor></code></td><td></td><td></td><td><src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DASE</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">org.atsc.dom.environment</anchor></code></td><td></td><td></td><td><src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DASE</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">org.atsc.dom.events</anchor></code></td><td></td><td></td><td><src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DASE</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">org.atsc.dom.html</anchor></code></td><td></td><td></td><td><src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DASE</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">org.atsc.dom.native</anchor></code></td><td></td><td></td><td><src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DASE</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">org.atsc.dom.views</anchor></code></td><td></td><td></td><td><src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DASE</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">org.w3c.dom.smil</anchor></code></td><td></td><td>SMIL DOM の例 <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 1 <abbr xmlns="http://www.w3.org/1999/xhtml">SE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Second Edition</title></abbr> <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code></src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">org.w3c.dom.svg</anchor></code></td><td></td><td>SVG DOM の例 <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 2 Core <code xmlns="http://www.w3.org/1999/xhtml" class="DOMm">hasFeature</code></src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">XML</anchor></code></td><td><code class="DOM">1.0</code></td><td>XML Module (Level 1) <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 1 1.3</src></td><td>DOM 3 Core 1.5]]</td></tr><tr><td><code class="DOM">XML</code></td><td><code class="DOM">2.0</code></td><td>XML Module (Level 2) <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 2 Core 1.3</src></td><td>DOM 3 Core 1.5]]</td></tr><tr><td><code class="DOM">XML</code></td><td><code class="DOM">3.0</code></td><td>XML Module (Level 3) <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 3 Core 1.5</src></td></tr><tr><td><code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">XMLVersion</anchor></code></td><td><code class="DOM">1.0</code></td><td><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">XML 1.0</anchor> <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 3 Core <code xmlns="http://www.w3.org/1999/xhtml" class="DOMa">xmlVersion</code></src></td><td>DOM 3 Core 1.5]]</td></tr><tr><td><code class="DOM">XMLVersion</code></td><td><code class="DOM">1.1</code></td><td><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">XML 1.1</anchor> <src xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">DOM 3 Core <code xmlns="http://www.w3.org/1999/xhtml" class="DOMa">xmlVersion</code></src></td></tr></tbody></table></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="10" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[10]</anchor-end><ul><li><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM 1</anchor><ul><li><abbr>SE<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">Second Edition</title></abbr> Compliance
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM1:&quot;introduction.html#ID-Compliance&quot;">IW:DOM1:&quot;introduction.html#ID-Compliance&quot;</anchor-external></li><li>1.3. Extended Interfaces
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM1:&quot;level-one-core.html#ID-E067D597&quot;">IW:DOM1:&quot;level-one-core.html#ID-E067D597&quot;</anchor-external></li><li>2.1. Introduction
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM1:&quot;level-one-html.html#ID-1176245063&quot;">IW:DOM1:&quot;level-one-html.html#ID-1176245063&quot;</anchor-external></li></ul></li><li><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM 2</anchor><ul><li>Core Conformance
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM2:&quot;Core/introduction.html#ID-Conformance&quot;">IW:DOM2:&quot;Core/introduction.html#ID-Conformance&quot;</anchor-external></li><li>Core 1.2. Fundamental Interfaces
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM2:&quot;Core/core.html#ID-BBACDC08&quot;">IW:DOM2:&quot;Core/core.html#ID-BBACDC08&quot;</anchor-external></li><li>Core 1.3. Extended Interfaces
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM2:&quot;Core/core.html#ID-E067D597&quot;">IW:DOM2:&quot;Core/core.html#ID-E067D597&quot;</anchor-external></li></ul></li><li><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM 3</anchor><ul><li>Core Conformance
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/introduction.html#ID-Conformance&quot;">IW:DOM3:&quot;Core/introduction.html#ID-Conformance&quot;</anchor-external></li><li>Core 1.4 Fundamental Interfaces: Core Module
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#ID-BBACDC08&quot;">IW:DOM3:&quot;Core/core.html#ID-BBACDC08&quot;</anchor-external></li><li>Core <code class="DOMa">xmlVersion</code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#Document3-version&quot;">IW:DOM3:&quot;Core/core.html#Document3-version&quot;</anchor-external></li><li>Core 1.5 Extended Interfaces: XML Module
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#ID-E067D597&quot;">IW:DOM3:&quot;Core/core.html#ID-E067D597&quot;</anchor-external></li></ul></li><li>[DASE] <cite>DTV A S E L 1 (DASE-1) P 2: D A E ATSC Standard</cite> 
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.atsc.org/standards/a_100_2.pdf">http://www.atsc.org/standards/a_100_2.pdf</anchor-external><ul><li><csection xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">5.3.1.2.1.4.1 DOMImplementation::hasFeature</csection></li></ul></li><li>[DDE] <cite>Declarative Data Essence -- Transitional</cite> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.smpte.org/standards/pdf/s397m.pdf">http://www.smpte.org/standards/pdf/s397m.pdf</anchor-external><ul><li><csection xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">8.1 DOM and Host Object Basis</csection></li></ul></li></ul></p><form xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" ref="comment"></form></section><section><h1>他との関係</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end> 応用は、メソッド 
<code class="DOMm"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">getDOMImplementation</anchor> (<var class="DOMp">features</var>)</code> やメソッド
<code class="DOMm"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">getDOMImplementationList</anchor> (<var class="DOMp">features</var>)</code>
を使うと特定の機能を実装した DOM <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">実装</anchor>を要求できます。</p><p>メソッド <code class="DOMm"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">hasFeature</anchor> (<var class="DOMp">feature</var>, <var class="DOMp">version</var>)</code>
やメソッド <code class="DOMm"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">isSupported</anchor> (<var class="DOMp">feature</var>, <var class="DOMp">version</var>)</code>
を使うと特定の機能が実装されているか調べることができます。
(版を問わない時は <code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">null</anchor></code> や空文字列を指定できます。)</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="6" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[6]</anchor-end>
DOM 2 モジュールまででは、既存の界面の拡張である界面はみな、
その拡張に対応する機能に対応していれば、束縛規定の型変換機構を使って利用することができました。
(例えば、 <code class="DOM"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Events</anchor></code> 機能に対応していれば
<code class="DOMi"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Node</anchor></code> の実現値から <code class="DOMi"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">EventTarget</anchor></code>
(is‐a <code class="DOMi">Node</code>) の実現値を得ることができました。)
DOM 3 では、特定の DOM を実装する部分部品と強調できるべきとされています
(<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM//実装//混合</anchor>を参照してください)。このため、メソッド
<code class="DOMm"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">getFeature</anchor> (<var class="DOMp">feature</var>, <var class="DOMp">version</var>)</code>
が用意されており、特定の機能を実装した実現値を得ることができます。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="7" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[7]</anchor-end> メソッド
<code class="DOMm">hasFeature (<var class="DOMp">feature</var>, <var class="DOMp">version</var>)</code>
やメソッド
<code class="DOMm">isSupported (<var class="DOMp">feature</var>, <var class="DOMp">version</var>)</code>
では、 <code class="DOMp">feature</code> 名の前に <code class="char">+</code>
を付けることができます。付けなければ直接型変換可能な界面の機能だけが考慮されますが、
付けた場合は <code class="DOMm">getFeature (<var class="DOMp">feature</var>, <var class="DOMp">version</var>)</code>
を使って得られるものも考慮に入れられます。</p></section><section><h1>歴史</h1><section><h1>W3C DOM</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> 各 <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM</anchor> モジュールは1つ以上の<dfn><rubyb xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">機能<rt xmlns="http://www.w3.org/1999/xhtml">feature</rt></rubyb></dfn>
(名前と版) を定義します。</p><refs xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><ul xmlns="http://www.w3.org/1999/xhtml"><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM 1</anchor><ul><li>Core <code class="DOMm">hasFeature</code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM1:&quot;level-one-core.html#ID-5CED94D7&quot;">IW:DOM1:&quot;level-one-core.html#ID-5CED94D7&quot;</anchor-external></li><li>Errata Section 1.2 Interface DOMImplementation
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html">http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html</anchor-external></li></ul></li><li><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM 2</anchor><ul><li>Core <code class="DOMm">hasFeature</code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM2:&quot;Core/core.html#ID-5CED94D7&quot;">IW:DOM2:&quot;Core/core.html#ID-5CED94D7&quot;</anchor-external></li><li>Errata core-5. 2001-01-17. [error]. DOMImplementation.hasFeature
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/2000/11/DOM-Level-2-errata#core-5">http://www.w3.org/2000/11/DOM-Level-2-errata#core-5</anchor-external></li><li>Errata core-14. 2001-07-11. [clarification]. DOMImplementation.hasFeature
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/2000/11/DOM-Level-2-errata#core-14">http://www.w3.org/2000/11/DOM-Level-2-errata#core-14</anchor-external></li></ul></li><li><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">DOM 3</anchor><ul><li>Core 1.3.6 DOM Features
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#DOMFeatures&quot;">IW:DOM3:&quot;Core/core.html#DOMFeatures&quot;</anchor-external></li><li>Core <code class="DOMm">getDOMImplementation</code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#ID-getDOMImpl&quot;">IW:DOM3:&quot;Core/core.html#ID-getDOMImpl&quot;</anchor-external></li><li>Core <code class="DOMm">getDOMImplementationList</code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#ID-getDOMImpls&quot;">IW:DOM3:&quot;Core/core.html#ID-getDOMImpls&quot;</anchor-external></li><li>Core <code class="DOMm">getFeature</code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#DOMImplementation3-getFeature&quot;">IW:DOM3:&quot;Core/core.html#DOMImplementation3-getFeature&quot;</anchor-external></li><li>Core <code class="DOMm">hasFeature</code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#ID-5CED94D7&quot;">IW:DOM3:&quot;Core/core.html#ID-5CED94D7&quot;</anchor-external></li><li>Core <code class="DOMm">getFeature</code>
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="IW" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="DOM3:&quot;Core/core.html#Node3-getFeature&quot;">IW:DOM3:&quot;Core/core.html#Node3-getFeature&quot;</anchor-external></li></ul></li></ul></refs><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="38" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[38]</anchor-end> <cite>Element Traversal Specification Errata</cite>
( (<time>2009-10-17 08:45:03 +09:00</time> 版))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/2008/12/REC-ElementTraversal-20081222-errata.html#S1">http://www.w3.org/2008/12/REC-ElementTraversal-20081222-errata.html#S1</anchor-external></p></section><section><h1>SVG</h1><refs xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><ul xmlns="http://www.w3.org/1999/xhtml"><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="15" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[15]</anchor-end> <cite>SVG Document Object Model (DOM) – SVG 1.1 (Second Edition)</cite> (<time>2011-08-10 03:35:27 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/SVG/svgdom.html#FeatureStrings">http://www.w3.org/TR/SVG/svgdom.html#FeatureStrings</anchor-external></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="14" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[14]</anchor-end> <cite>Feature Strings – SVG 1.1 (Second Edition)</cite> (<time>2011-08-10 03:35:27 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/SVG/feature.html">http://www.w3.org/TR/SVG/feature.html</anchor-external></li></ul></refs><section><h1>SVG 1.0</h1><refs xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><ul xmlns="http://www.w3.org/1999/xhtml"><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="17" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[17]</anchor-end> <cite>Document Structure - SVG 1.0 - 20010904</cite> (<time>2001-09-01 01:37:36 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/2001/REC-SVG-20010904/struct.html#RequiredFeaturesAttribute">http://www.w3.org/TR/2001/REC-SVG-20010904/struct.html#RequiredFeaturesAttribute</anchor-external></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="16" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[16]</anchor-end> <cite>SVG Document Object Model (DOM) - SVG 1.0 - 20010904</cite> (<time>2001-09-01 01:37:36 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/2001/REC-SVG-20010904/svgdom.html#FeatureStrings">http://www.w3.org/TR/2001/REC-SVG-20010904/svgdom.html#FeatureStrings</anchor-external></li></ul></refs></section><section><h1>SVG 1.1</h1><ed xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:"></ed></section><section><h1>SVG 1.2</h1><refs xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><ul xmlns="http://www.w3.org/1999/xhtml"><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="18" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[18]</anchor-end> <cite>Feature Strings – SVG Tiny 1.2</cite> (<time>2008-12-19 17:31:29 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/SVGTiny12/feature.html">http://www.w3.org/TR/SVGTiny12/feature.html</anchor-external></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="19" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[19]</anchor-end> <cite>Document Structure – SVG Tiny 1.2</cite> (<time>2008-12-19 17:31:29 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/SVGTiny12/struct.html#RequiredFeaturesAttribute">http://www.w3.org/TR/SVGTiny12/struct.html#RequiredFeaturesAttribute</anchor-external></li></ul></refs></section></section><section><h1>WHATWG</h1><ed xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">HTML5</ed><refs xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><ul xmlns="http://www.w3.org/1999/xhtml"><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="21" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[21]</anchor-end> <cite xml:lang="en-US">DOM Standard</cite> (<time>2012-11-23 14:12:13 +09:00</time> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature">http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature</anchor-external></li></ul></refs></section></section><section><h1>例</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="8" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[8]</anchor-end> 型変換の例:<pre>my EventTarget $evt;
if ($node.<code class="DOMm">isSupported (<code class="DOMp">&quot;Events&quot;</code>, <code class="DOMp">&quot;3.0&quot;</code>)</code>) {
  ## 直接型変換可能な場合
  $evt = (EventTarget) $node;
} else if ($node.<code class="DOMm">isSupported (<code class="DOMp">&quot;+Events&quot;</code>, <code class="DOMp">&quot;3.0&quot;</code>)</code>) {
  ## 間接的に型変換可能な場合
  $evt = (EventTarget) $node.<code class="DOMm">getFeature (<code class="DOMp">&quot;Events&quot;</code>, <code class="DOMp">&quot;3.0&quot;</code>)</code>;
}</pre></p><form xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" ref="comment"></form></section><section><h1>memo</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="12" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[12]</anchor-end>
実装によっては Core, 1.0 に true を返します。
(<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">名無しさん</anchor>)</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="13" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[13]</anchor-end> <cite xml:lang="en">DOM features - WHATWG Wiki</cite>
( (<time>2012-04-07 02:07:28 +09:00</time> 版))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://wiki.whatwg.org/wiki/DOM_features">http://wiki.whatwg.org/wiki/DOM_features</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="25" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[25]</anchor-end> <cite xml:lang="en">Web Applications 1.0 r7562 Update references to DOM spec so they call it its real name. (Boy am I late to _this_ party.) This update will also make &lt;iframe seamless&gt; do event retargetting once DOM is updated to support that (see bug 18780 - marked this bug 'editorial' since this change doesn't work without the DOM stuff). Also, a lot of clean-up to affected areas.</cite>
( (<time>2012-12-05 08:55:00 +09:00</time> 版))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://html5.org/tools/web-apps-tracker?from=7561&amp;to=7562">http://html5.org/tools/web-apps-tracker?from=7561&amp;to=7562</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="26" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[26]</anchor-end> <cite>Document Object Model for MathML</cite>
( (<time>2001-02-20 21:36:11 +09:00</time> 版))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/2001/REC-MathML2-20010221/chapter8.html">http://www.w3.org/TR/2001/REC-MathML2-20010221/chapter8.html</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="27" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[27]</anchor-end> <cite xml:lang="EN">Delivery Context: Client Interfaces (DCCI) 1.0</cite>
( (<time>2007-12-11 04:28:19 +09:00</time> 版))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.w3.org/TR/2007/CR-DPF-20071221/#iddiv296456272">http://www.w3.org/TR/2007/CR-DPF-20071221/#iddiv296456272</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="28" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[28]</anchor-end> <cite xml:lang="en">DOM features - WHATWG Wiki</cite>
( (<time>2011-02-15 09:26:03 +09:00</time> 版))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://wiki.whatwg.org/wiki/DOM_features">http://wiki.whatwg.org/wiki/DOM_features</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="32" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[32]</anchor-end> <cite xml:lang="en">Conditional processing edits</cite>
( (<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">AmeliaBR</anchor>著, <time>2016-06-03 14:06:56 +09:00</time>))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://github.com/w3c/svgwg/commit/94e639431a7ea12947acaf7a7bef65c0807bda30">https://github.com/w3c/svgwg/commit/94e639431a7ea12947acaf7a7bef65c0807bda30</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="33" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[33]</anchor-end> <cite xml:lang="en">Rewrite conformance requirements to not use feature strings. Closes #84.</cite>
( (<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">nikosandronikos</anchor>著, <time>2016-06-22 23:29:10 +09:00</time>))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://github.com/w3c/svgwg/commit/527c1916d51ae23a1886536fb457d1ba5521eea3">https://github.com/w3c/svgwg/commit/527c1916d51ae23a1886536fb457d1ba5521eea3</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="37" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[37]</anchor-end> <cite xml:lang="en">Deprecations and Removals in Chrome 59  |  Web  |  Google Developers</cite>
(<time>2017-05-13 04:52:02 +09:00</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://developers.google.com/web/updates/2017/04/chrome-59-deprecations">https://developers.google.com/web/updates/2017/04/chrome-59-deprecations</anchor-external></p></section></body></html>