html5/spec Overview.html,1.5253,1.5254

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv28580

Modified Files:
	Overview.html 
Log Message:
Make option.label and option.value more consistent. (whatwg r6560)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5253
retrieving revision 1.5254
diff -u -d -r1.5253 -r1.5254
--- Overview.html	21 Sep 2011 23:00:44 -0000	1.5253
+++ Overview.html	22 Sep 2011 17:39:45 -0000	1.5254
@@ -321,7 +321,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-21-september-2011">Editor's Draft 21 September 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-22-september-2011">Editor's Draft 22 September 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -467,7 +467,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 21 September 2011 Editor's Draft.
+  This specification is the 22 September 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -37251,11 +37251,16 @@
   </dl><div class="impl">
 
   <p>The <dfn id="dom-option-disabled" title="dom-option-disabled"><code>disabled</code></dfn>
-  and <dfn id="dom-option-label" title="dom-option-label"><code>label</code></dfn> IDL
-  attributes must <a href="#reflect">reflect</a> the respective content
-  attributes of the same name. The <dfn id="dom-option-defaultselected" title="dom-option-defaultSelected"><code>defaultSelected</code></dfn>
+  IDL attribute must <a href="#reflect">reflect</a> the content attribute of the
+  same name. The <dfn id="dom-option-defaultselected" title="dom-option-defaultSelected"><code>defaultSelected</code></dfn>
   IDL attribute must <a href="#reflect">reflect</a> the <code title="attr-option-selected"><a href="#attr-option-selected">selected</a></code> content attribute.</p>
 
+  <p>The <dfn id="dom-option-label" title="dom-option-label"><code>label</code></dfn> IDL
+  attribute, on getting, must return the value of the element's <code title="attr-option-label"><a href="#attr-option-label">label</a></code> content attribute, if it has
+  one, or else the value of the element's <code><a href="#textcontent">textContent</a></code> IDL
+  attribute. On setting, the element's <code title="attr-option-label"><a href="#attr-option-label">label</a></code> content attribute must be set
+  to the new value.</p>
+
   <p>The <dfn id="dom-option-value" title="dom-option-value"><code>value</code></dfn> IDL
   attribute, on getting, must return the value of the element's <code title="attr-option-value"><a href="#attr-option-value">value</a></code> content attribute, if it has
   one, or else the value of the element's <code><a href="#textcontent">textContent</a></code> IDL

Received on Thursday, 22 September 2011 17:39:51 UTC