[html5] r4562 - [agiow] (0) Define a.text Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8544

whatwg at whatwg.org whatwg at whatwg.org
Sun Jan 10 19:23:20 PST 2010


Author: ianh
Date: 2010-01-10 19:23:18 -0800 (Sun, 10 Jan 2010)
New Revision: 4562

Modified:
   complete.html
   index
   source
Log:
[agiow] (0) Define a.text
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8544

Modified: complete.html
===================================================================
--- complete.html	2010-01-11 02:49:16 UTC (rev 4561)
+++ complete.html	2010-01-11 03:23:18 UTC (rev 4562)
@@ -15787,7 +15787,19 @@
    suffix</a></var>, then take that into account when following the
    hyperlink.</li>
 
-  </ol><p>The IDL attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must
+  </ol></div>
+
+  <dl class=domintro><dt><var title="">option</var> . <code title=dom-option-text><a href=#dom-option-text>text</a></code>
+
+   <dd>
+
+    <p>Same as <code>textContent</code>.</p>
+
+   </dd>
+
+  </dl><div class=impl>
+
+  <p>The IDL attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must
   <a href=#reflect>reflect</a> the respective content attributes of the same
   name.</p>
 
@@ -15795,6 +15807,12 @@
   <a href=#reflect>reflect</a> the <code title=attr-hyperlink-rel><a href=#attr-hyperlink-rel>rel</a></code>
   content attribute.</p>
 
+  <p>The <dfn id=dom-a-text title=dom-a-text><code>text</code></dfn> IDL
+  attribute, on getting, must return the same value as the
+  <code>textContent</code> IDL attribute on the element, and on
+  setting, must act as if the <code>textContent</code> IDL attribute
+  on the element had been set to the new value.</p>
+
   <p>The <code><a href=#the-a-element>a</a></code> element also supports the complement of
   <a href=#url-decomposition-idl-attributes>URL decomposition IDL attributes</a>, <dfn id=dom-a-protocol title=dom-a-protocol><code>protocol</code></dfn>, <dfn id=dom-a-host title=dom-a-host><code>host</code></dfn>, <dfn id=dom-a-port title=dom-a-port><code>port</code></dfn>, <dfn id=dom-a-hostname title=dom-a-hostname><code>hostname</code></dfn>, <dfn id=dom-a-pathname title=dom-a-pathname><code>pathname</code></dfn>, <dfn id=dom-a-search title=dom-a-search><code>search</code></dfn>, and <dfn id=dom-a-hash title=dom-a-hash><code>hash</code></dfn>. These must follow the
   rules given for URL decomposition IDL attributes, with the <a href=#concept-uda-input title=concept-uda-input>input</a> being the result of <a href=#resolve-a-url title="resolve a url">resolving</a> the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute relative to the
@@ -37068,6 +37086,14 @@
 
    </dd>
 
+   <dt><var title="">option</var> . <code title=dom-option-text><a href=#dom-option-text>text</a></code>
+
+   <dd>
+
+    <p>Same as <code>textContent</code>.</p>
+
+   </dd>
+
    <dt><var title="">option</var> = new <code title=dom-option><a href=#dom-option>Option</a></code>( [ <var title="">text</var> [, <var title="">value</var> [, <var title="">defaultSelected</var> [, <var title="">selected</var> ] ] ] ] )</dt>
 
    <dd>

Modified: index
===================================================================
--- index	2010-01-11 02:49:16 UTC (rev 4561)
+++ index	2010-01-11 03:23:18 UTC (rev 4562)
@@ -15652,7 +15652,19 @@
    suffix</a></var>, then take that into account when following the
    hyperlink.</li>
 
-  </ol><p>The IDL attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must
+  </ol></div>
+
+  <dl class=domintro><dt><var title="">option</var> . <code title=dom-option-text><a href=#dom-option-text>text</a></code>
+
+   <dd>
+
+    <p>Same as <code>textContent</code>.</p>
+
+   </dd>
+
+  </dl><div class=impl>
+
+  <p>The IDL attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must
   <a href=#reflect>reflect</a> the respective content attributes of the same
   name.</p>
 
@@ -15660,6 +15672,12 @@
   <a href=#reflect>reflect</a> the <code title=attr-hyperlink-rel><a href=#attr-hyperlink-rel>rel</a></code>
   content attribute.</p>
 
+  <p>The <dfn id=dom-a-text title=dom-a-text><code>text</code></dfn> IDL
+  attribute, on getting, must return the same value as the
+  <code>textContent</code> IDL attribute on the element, and on
+  setting, must act as if the <code>textContent</code> IDL attribute
+  on the element had been set to the new value.</p>
+
   <p>The <code><a href=#the-a-element>a</a></code> element also supports the complement of
   <a href=#url-decomposition-idl-attributes>URL decomposition IDL attributes</a>, <dfn id=dom-a-protocol title=dom-a-protocol><code>protocol</code></dfn>, <dfn id=dom-a-host title=dom-a-host><code>host</code></dfn>, <dfn id=dom-a-port title=dom-a-port><code>port</code></dfn>, <dfn id=dom-a-hostname title=dom-a-hostname><code>hostname</code></dfn>, <dfn id=dom-a-pathname title=dom-a-pathname><code>pathname</code></dfn>, <dfn id=dom-a-search title=dom-a-search><code>search</code></dfn>, and <dfn id=dom-a-hash title=dom-a-hash><code>hash</code></dfn>. These must follow the
   rules given for URL decomposition IDL attributes, with the <a href=#concept-uda-input title=concept-uda-input>input</a> being the result of <a href=#resolve-a-url title="resolve a url">resolving</a> the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute relative to the
@@ -36933,6 +36951,14 @@
 
    </dd>
 
+   <dt><var title="">option</var> . <code title=dom-option-text><a href=#dom-option-text>text</a></code>
+
+   <dd>
+
+    <p>Same as <code>textContent</code>.</p>
+
+   </dd>
+
    <dt><var title="">option</var> = new <code title=dom-option><a href=#dom-option>Option</a></code>( [ <var title="">text</var> [, <var title="">value</var> [, <var title="">defaultSelected</var> [, <var title="">selected</var> ] ] ] ] )</dt>
 
    <dd>

Modified: source
===================================================================
--- source	2010-01-11 02:49:16 UTC (rev 4561)
+++ source	2010-01-11 03:23:18 UTC (rev 4562)
@@ -16663,6 +16663,22 @@
 
   </ol>
 
+  </div>
+
+  <dl class="domintro">
+
+   <dt><var title="">option</var> . <code title="dom-option-text">text</code></dfn>
+
+   <dd>
+
+    <p>Same as <code>textContent</code>.</p>
+
+   </dd>
+
+  </dl>
+
+  <div class="impl">
+
   <p>The IDL attributes <dfn
   title="dom-a-href"><code>href</code></dfn>, <dfn
   title="dom-a-ping"><code>ping</code></dfn>, <dfn
@@ -16679,6 +16695,12 @@
   <span>reflect</span> the <code title="attr-hyperlink-rel">rel</code>
   content attribute.</p>
 
+  <p>The <dfn title="dom-a-text"><code>text</code></dfn> IDL
+  attribute, on getting, must return the same value as the
+  <code>textContent</code> IDL attribute on the element, and on
+  setting, must act as if the <code>textContent</code> IDL attribute
+  on the element had been set to the new value.</p>
+
   <p>The <code>a</code> element also supports the complement of
   <span>URL decomposition IDL attributes</span>, <dfn
   title="dom-a-protocol"><code>protocol</code></dfn>, <dfn
@@ -41187,6 +41209,14 @@
 
    </dd>
 
+   <dt><var title="">option</var> . <code title="dom-option-text">text</code></dfn>
+
+   <dd>
+
+    <p>Same as <code>textContent</code>.</p>
+
+   </dd>
+
    <dt><var title="">option</var> = new <code title="dom-option">Option</code>( [ <var title="">text</var> [, <var title="">value</var> [, <var title="">defaultSelected</var> [, <var title="">selected</var> ] ] ] ] )</dt>
 
    <dd>




More information about the Commit-Watchers mailing list