html5/spec Overview.html,1.5073,1.5074

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

Modified Files:
	Overview.html 
Log Message:
Fix <option> to match reality better. (whatwg r6351)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5073
retrieving revision 1.5074
diff -u -d -r1.5073 -r1.5074
--- Overview.html	2 Aug 2011 23:14:49 -0000	1.5073
+++ Overview.html	2 Aug 2011 23:43:54 -0000	1.5074
@@ -36889,11 +36889,11 @@
 
   </div><p>The <dfn id="attr-option-label" title="attr-option-label"><code>label</code></dfn>
   attribute provides a label for element. The <dfn id="concept-option-label" title="concept-option-label">label</dfn> of an <code><a href="#the-option-element">option</a></code>
-  element is the value of the <code title="attr-option-label"><a href="#attr-option-label">label</a></code> attribute, if there is one,
-  or the <code><a href="#textcontent">textContent</a></code> of the element, if there isn't.<p>The <dfn id="attr-option-value" title="attr-option-value"><code>value</code></dfn>
+  element is the value of the <code title="attr-option-label"><a href="#attr-option-label">label</a></code> content attribute, if there
+  is one, or, if there is not, the value of the element's <code title="dom-option-text"><a href="#dom-option-text">text</a></code> IDL attribute.<p>The <dfn id="attr-option-value" title="attr-option-value"><code>value</code></dfn>
   attribute provides a value for element. The <dfn id="concept-option-value" title="concept-option-value">value</dfn> of an <code><a href="#the-option-element">option</a></code>
-  element is the value of the <code title="attr-option-value"><a href="#attr-option-value">value</a></code> attribute, if there is one,
-  or the <code><a href="#textcontent">textContent</a></code> of the element, if there isn't.<p>The <dfn id="attr-option-selected" title="attr-option-selected"><code>selected</code></dfn>
+  element is the value of the <code title="attr-option-value"><a href="#attr-option-value">value</a></code> content attribute, if there
+  is one, or, if there is not, the value of the element's <code title="dom-option-text"><a href="#dom-option-text">text</a></code> IDL attribute.<p>The <dfn id="attr-option-selected" title="attr-option-selected"><code>selected</code></dfn>
   attribute is a <a href="#boolean-attribute">boolean attribute</a>. It represents the
   default <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> of the
   element.<div class="impl">
@@ -37003,11 +37003,10 @@
 
   <p>The <dfn id="dom-option-text" title="dom-option-text"><code>text</code></dfn> IDL
   attribute, on getting, must return the value of the
-  <code><a href="#textcontent">textContent</a></code> IDL attribute on the element with leading
-  and trailing <a href="#space-character" title="space character">space characters</a>
-  removed, and with any sequences of two or more <a href="#space-character" title="space
-  character">space characters</a> replaced by a single U+0020 SPACE
-  character. On setting, it must act as if the
+  <code><a href="#textcontent">textContent</a></code> IDL attribute on the element, with <a href="#strip-leading-and-trailing-whitespace" title="strip leading and trailing whitespace">leading and trailing
+  whitespace stripped</a>, and with any sequences of two or more
+  <a href="#space-character" title="space character">space characters</a> replaced by a
+  single U+0020 SPACE character. On setting, it must act as if the
   <code><a href="#textcontent">textContent</a></code> IDL attribute on the element had been set
   to the new value.</p>
 

Received on Tuesday, 2 August 2011 23:44:03 UTC