Skip to content

Commit

Permalink
[] (0) Make HTMLOptionElement.text read-write.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3529 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 3, 2009
1 parent bd69700 commit cdde974
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions index
Expand Up @@ -34627,7 +34627,7 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
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>
Expand Down Expand Up @@ -34747,8 +34747,10 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
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>
Expand Down
8 changes: 5 additions & 3 deletions source
Expand Up @@ -38658,7 +38658,7 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
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>
Expand Down Expand Up @@ -38807,8 +38807,10 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
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>
Expand Down

0 comments on commit cdde974

Please sign in to comment.