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

html5/spec Overview.html,1.2787,1.2788

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 12 Aug 2009 07:44:18 +0000
To: public-html-commits@w3.org
Message-Id: <E1Mb8VO-0005UK-VA@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv21075

Modified Files:
	Overview.html 
Log Message:
Define how option.value really works. (whatwg r3596)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2787
retrieving revision 1.2788
diff -u -d -r1.2787 -r1.2788
--- Overview.html	12 Aug 2009 06:35:03 -0000	1.2787
+++ Overview.html	12 Aug 2009 07:44:15 -0000	1.2788
@@ -37179,12 +37179,18 @@
 
   <div class="impl">
 
-  <p>The <dfn id="dom-option-disabled" title="dom-option-disabled"><code>disabled</code></dfn>,
-  <dfn id="dom-option-label" title="dom-option-label"><code>label</code></dfn>, and <dfn id="dom-option-value" title="dom-option-value"><code>value</code></dfn> DOM 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>
+  <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> DOM
+  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>
   DOM 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-value" title="dom-option-value"><code>value</code></dfn> DOM
+  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>textContent</code> DOM
+  attribute. On setting, the element's <code title="attr-option-value"><a href="#attr-option-value">value</a></code> content attribute must be set
+  to the new value.</p>
+
   <p>The <dfn id="dom-option-selected" title="dom-option-selected"><code>selected</code></dfn>
   DOM attribute must return true if the element's <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> is true, and
   false otherwise.</p>
@@ -79065,6 +79071,7 @@
   Susan <!--G.--> Lesch,
   Sylvain Pasche,
   <span lang="tr" title="">Tantek Çelik</span>,
+  田村健人 (TAMURA Kent),
   Ted Mielczarek,
   Terrence Wood,
   Thomas Broyer,
Received on Wednesday, 12 August 2009 07:45:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 August 2009 07:45:35 GMT