hixie: Make HTMLOptionElement.text read-write. (whatwg r3529)

hixie: Make HTMLOptionElement.text read-write. (whatwg r3529)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2726&r2=1.2727&f=h
http://html5.org/tools/web-apps-tracker?from=3528&to=3529

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2726
retrieving revision 1.2727
diff -u -d -r1.2726 -r1.2727
--- Overview.html 3 Aug 2009 07:16:26 -0000 1.2726
+++ Overview.html 3 Aug 2009 07:20:27 -0000 1.2727
@@ -30715,7 +30715,7 @@
            attribute boolean <a href="#dom-option-selected" title="dom-option-selected">selected</a>;
            attribute DOMString <a href="#dom-option-value" title="dom-option-value">value</a>;
 
-  readonly attribute DOMString <a href="#dom-option-text" title="dom-option-text">text</a>;
+           attribute DOMString <a href="#dom-option-text" title="dom-option-text">text</a>;
   readonly attribute long <a href="#dom-option-index" title="dom-option-index">index</a>;
 };</pre>
    </dd>
@@ -30821,8 +30821,10 @@
   attribute must return the element's <a href="#concept-option-index" title="concept-option-index">index</a>.</p>
 
   <p>The <dfn id="dom-option-text" title="dom-option-text"><code>text</code></dfn> DOM
-  attribute must return the same value as the <code>textContent</code>
-  DOM attribute on the element.</p>
+  attribute, on getting, must return the same value as the
+  <code>textContent</code> DOM attribute on the element, and on
+  setting, must act as if the <code>textContent</code> DOM attribute
+  on the element had been set to the new value.</p>
 
   <p>The <dfn id="dom-option-form" title="dom-option-form"><code>form</code></dfn> DOM
   attribute's behavior depends on whether the <code><a href="#the-option-element">option</a></code>

Received on Monday, 3 August 2009 07:21:21 UTC