Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (2) Make IDL setters of enumerated attributes not throw an exc…
…eption but instead pass invalid values through unmodified.

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

git-svn-id: http://svn.whatwg.org/webapps@4934 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 1, 2010
1 parent de1d0bd commit 1f5e907
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions complete.html
Expand Up @@ -6148,8 +6148,8 @@ <h4 id=reflecting-content-attributes-in-idl-attributes><span class=secno>2.7.1 <
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 setter must raise a <code><a href=#syntax_err>SYNTAX_ERR</a></code>
exception.</p>
removed, otherwise, the content attribute must be set to the given
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
Expand Down
4 changes: 2 additions & 2 deletions index
Expand Up @@ -6046,8 +6046,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
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 setter must raise a <code><a href=#syntax_err>SYNTAX_ERR</a></code>
exception.</p>
removed, otherwise, the content attribute must be set to the given
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
Expand Down
4 changes: 2 additions & 2 deletions source
Expand Up @@ -5693,8 +5693,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
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 setter must raise a <code>SYNTAX_ERR</code>
exception.</p>
removed, otherwise, the content attribute must be set to the given
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
Expand Down

0 comments on commit 1f5e907

Please sign in to comment.