W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2010

html5/spec Overview.html,1.3641,1.3642

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 11 Jan 2010 03:23:28 +0000
To: public-html-commits@w3.org
Message-Id: <E1NUAsK-0006cU-Hk@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv25408

Modified Files:
	Overview.html 
Log Message:
Define a.text (whatwg r4562)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3641
retrieving revision 1.3642
diff -u -d -r1.3641 -r1.3642
--- Overview.html	11 Jan 2010 02:49:24 -0000	1.3641
+++ Overview.html	11 Jan 2010 03:23:25 -0000	1.3642
@@ -13601,7 +13601,17 @@
    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>
 
@@ -13609,6 +13619,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
@@ -29950,6 +29966,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>
Received on Monday, 11 January 2010 03:23:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 11 January 2010 03:23:32 GMT