Skip to content

Commit

Permalink
[giow] (2) Match implementations better.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15596
Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@6975 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 7, 2012
1 parent 0977017 commit 54e8241
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 28 deletions.
14 changes: 6 additions & 8 deletions complete.html
Expand Up @@ -49307,16 +49307,14 @@ <h4 id=the-option-element><span class=secno>4.10.12 </span>The <dfn><code>option
IDL 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-label title=dom-option-label><code>label</code></dfn> IDL
attribute, on getting, must return the value of the element's <code title=attr-option-label><a href=#attr-option-label>label</a></code> content attribute, if it has
one, or else the value of the element's <code><a href=#textcontent>textContent</a></code> IDL
attribute. On setting, the element's <code title=attr-option-label><a href=#attr-option-label>label</a></code> content attribute must be set
to the new value.</p>
attribute, on getting, must return the element's <a href=#concept-option-label title=concept-option-label>label</a>. On setting, the element's
<code title=attr-option-label><a href=#attr-option-label>label</a></code> content attribute must
be set to the new value.</p>

<p>The <dfn id=dom-option-value title=dom-option-value><code>value</code></dfn> IDL
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><a href=#textcontent>textContent</a></code> IDL
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>
attribute, on getting, must return the element's <a href=#concept-option-value title=concept-option-value>value</a>. 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>
IDL attribute, on getting, must return true if the element's <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> is true, and
Expand Down
14 changes: 6 additions & 8 deletions index
Expand Up @@ -49307,16 +49307,14 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
IDL 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-label title=dom-option-label><code>label</code></dfn> IDL
attribute, on getting, must return the value of the element's <code title=attr-option-label><a href=#attr-option-label>label</a></code> content attribute, if it has
one, or else the value of the element's <code><a href=#textcontent>textContent</a></code> IDL
attribute. On setting, the element's <code title=attr-option-label><a href=#attr-option-label>label</a></code> content attribute must be set
to the new value.</p>
attribute, on getting, must return the element's <a href=#concept-option-label title=concept-option-label>label</a>. On setting, the element's
<code title=attr-option-label><a href=#attr-option-label>label</a></code> content attribute must
be set to the new value.</p>

<p>The <dfn id=dom-option-value title=dom-option-value><code>value</code></dfn> IDL
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><a href=#textcontent>textContent</a></code> IDL
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>
attribute, on getting, must return the element's <a href=#concept-option-value title=concept-option-value>value</a>. 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>
IDL attribute, on getting, must return true if the element's <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> is true, and
Expand Down
20 changes: 8 additions & 12 deletions source
Expand Up @@ -57430,20 +57430,16 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
title="attr-option-selected">selected</code> content attribute.</p>

<p>The <dfn title="dom-option-label"><code>label</code></dfn> IDL
attribute, on getting, must return the value of the element's <code
title="attr-option-label">label</code> content attribute, if it has
one, or else the value of the element's <code>textContent</code> IDL
attribute. On setting, the element's <code
title="attr-option-label">label</code> content attribute must be set
to the new value.</p>
attribute, on getting, must return the element's <span
title="concept-option-label">label</span>. On setting, the element's
<code title="attr-option-label">label</code> content attribute must
be set to the new value.</p>

<p>The <dfn title="dom-option-value"><code>value</code></dfn> IDL
attribute, on getting, must return the value of the element's <code
title="attr-option-value">value</code> content attribute, if it has
one, or else the value of the element's <code>textContent</code> IDL
attribute. On setting, the element's <code
title="attr-option-value">value</code> content attribute must be set
to the new value.</p>
attribute, on getting, must return the element's <span
title="concept-option-value">value</span>. On setting, the element's
<code title="attr-option-value">value</code> content attribute must
be set to the new value.</p>

<p>The <dfn title="dom-option-selected"><code>selected</code></dfn>
IDL attribute, on getting, must return true if the element's <span
Expand Down

0 comments on commit 54e8241

Please sign in to comment.