W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2009

html5/spec Overview.html,1.2726,1.2727

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 03 Aug 2009 07:20:30 +0000
To: public-html-commits@w3.org
Message-Id: <E1MXrqQ-000839-D5@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30929

Modified Files:
	Overview.html 
Log Message:
Make HTMLOptionElement.text read-write. (whatwg r3529)

Index: Overview.html
===================================================================
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:20:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 3 August 2009 07:20:40 GMT