[html5] r3529 - [] (0) Make HTMLOptionElement.text read-write.
whatwg at whatwg.org
whatwg at whatwg.org
Mon Aug 3 00:20:22 PDT 2009
Author: ianh
Date: 2009-08-03 00:20:21 -0700 (Mon, 03 Aug 2009)
New Revision: 3529
Modified:
index
source
Log:
[] (0) Make HTMLOptionElement.text read-write.
Modified: index
===================================================================
--- index 2009-08-03 07:16:20 UTC (rev 3528)
+++ index 2009-08-03 07:20:21 UTC (rev 3529)
@@ -34627,7 +34627,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>
@@ -34747,8 +34747,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>
Modified: source
===================================================================
--- source 2009-08-03 07:16:20 UTC (rev 3528)
+++ source 2009-08-03 07:20:21 UTC (rev 3529)
@@ -38658,7 +38658,7 @@
attribute boolean <span title="dom-option-selected">selected</span>;
attribute DOMString <span title="dom-option-value">value</span>;
- readonly attribute DOMString <span title="dom-option-text">text</span>;
+ attribute DOMString <span title="dom-option-text">text</span>;
readonly attribute long <span title="dom-option-index">index</span>;
};</pre>
</dd>
@@ -38807,8 +38807,10 @@
title="concept-option-index">index</span>.</p>
<p>The <dfn 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 title="dom-option-form"><code>form</code></dfn> DOM
attribute's behavior depends on whether the <code>option</code>
More information about the Commit-Watchers
mailing list