Skip to content
Permalink
Browse files

[giow] (2) Match UAs better for 'limited to known values' reflection.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10380

git-svn-id: http://svn.whatwg.org/webapps@5537 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 28, 2010
1 parent 5eaaac1 commit d56b5d6c9e43fd8aa786500a867b3cc25c3fe6ef
Showing with 9 additions and 27 deletions.
  1. +3 −9 complete.html
  2. +3 −9 index
  3. +3 −9 source
getting, the IDL attribute must return the conforming value
associated with the state the attribute is in (in its canonical
case), or the empty string if the attribute is in a state that has
no associated keyword value; and on setting, if the new value is an
<a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one of the keywords
given for that attribute, then the content attribute must be set to
the conforming value associated with the state that the attribute
would be in if set to the given new value, otherwise, if the new
value is the empty string, then the content attribute must be
removed, otherwise, the content attribute must be set to the given
new value.</p>
no associated keyword value; and on setting, the content attribute
must be set to the specified new value.</p>

<p>If a reflecting IDL attribute is a <code>DOMString</code> but
doesn't fall into any of the above categories, then the getting and

<p>The IDL attribute <dfn id=dom-area-shape title=dom-area-shape><code>shape</code></dfn> must
<a href=#reflect>reflect</a> the <code title=attr-area-shape><a href=#attr-area-shape>shape</a></code>
content attribute, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>
content attribute.</p>

<p>The IDL attribute <dfn id=dom-area-rellist title=dom-area-rellist><code>relList</code></dfn> must
<a href=#reflect>reflect</a> the <code title=attr-hyperlink-rel><a href=#attr-hyperlink-rel>rel</a></code>
12 index
getting, the IDL attribute must return the conforming value
associated with the state the attribute is in (in its canonical
case), or the empty string if the attribute is in a state that has
no associated keyword value; and on setting, if the new value is an
<a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one of the keywords
given for that attribute, then the content attribute must be set to
the conforming value associated with the state that the attribute
would be in if set to the given new value, otherwise, if the new
value is the empty string, then the content attribute must be
removed, otherwise, the content attribute must be set to the given
new value.</p>
no associated keyword value; and on setting, the content attribute
must be set to the specified new value.</p>

<p>If a reflecting IDL attribute is a <code>DOMString</code> but
doesn't fall into any of the above categories, then the getting and

<p>The IDL attribute <dfn id=dom-area-shape title=dom-area-shape><code>shape</code></dfn> must
<a href=#reflect>reflect</a> the <code title=attr-area-shape><a href=#attr-area-shape>shape</a></code>
content attribute, <a href=#limited-to-only-known-values>limited to only known values</a>.</p>
content attribute.</p>

<p>The IDL attribute <dfn id=dom-area-rellist title=dom-area-rellist><code>relList</code></dfn> must
<a href=#reflect>reflect</a> the <code title=attr-hyperlink-rel><a href=#attr-hyperlink-rel>rel</a></code>
12 source
@@ -6275,14 +6275,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
getting, the IDL attribute must return the conforming value
associated with the state the attribute is in (in its canonical
case), or the empty string if the attribute is in a state that has
no associated keyword value; and on setting, if the new value is an
<span>ASCII case-insensitive</span> match for one of the keywords
given for that attribute, then the content attribute must be set to
the conforming value associated with the state that the attribute
would be in if set to the given new value, otherwise, if the new
value is the empty string, then the content attribute must be
removed, otherwise, the content attribute must be set to the given
new value.</p>
no associated keyword value; and on setting, the content attribute
must be set to the specified new value.</p>

<p>If a reflecting IDL attribute is a <code>DOMString</code> but
doesn't fall into any of the above categories, then the getting and
<p>The IDL attribute <dfn
title="dom-area-shape"><code>shape</code></dfn> must
<span>reflect</span> the <code title="attr-area-shape">shape</code>
content attribute, <span>limited to only known values</span>.</p>
content attribute.</p>

<p>The IDL attribute <dfn
title="dom-area-rellist"><code>relList</code></dfn> must

0 comments on commit d56b5d6

Please sign in to comment.
You can’t perform that action at this time.