Skip to content

Commit

Permalink
[giow] (0) Make boolean attributes reflect true to the empty string, …
Browse files Browse the repository at this point in the history
…not the attribute name.

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

git-svn-id: http://svn.whatwg.org/webapps@5022 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 13, 2010
1 parent 4054164 commit ff39585
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
5 changes: 3 additions & 2 deletions complete.html
Expand Up @@ -6448,8 +6448,9 @@ <h4 id=reflecting-content-attributes-in-idl-attributes><span class=secno>2.7.1 <
attribute, then on getting the IDL attribute must return true if the
content attribute is set, and false if it is absent. On setting, the
content attribute must be removed if the IDL attribute is set to
false, and must be set to have the same value as its name if the IDL
attribute is set to true. (This corresponds to the rules for <a href=#boolean-attribute title="boolean attribute">boolean content attributes</a>.)</p>
false, and must be set to the empty string if the IDL attribute is
set to true. (This corresponds to the rules for <a href=#boolean-attribute title="boolean
attribute">boolean content attributes</a>.)</p>

<p>If a reflecting IDL attribute is a signed integer type
(<code>long</code>) then, on getting, the content attribute must be
Expand Down
5 changes: 3 additions & 2 deletions index
Expand Up @@ -6346,8 +6346,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
attribute, then on getting the IDL attribute must return true if the
content attribute is set, and false if it is absent. On setting, the
content attribute must be removed if the IDL attribute is set to
false, and must be set to have the same value as its name if the IDL
attribute is set to true. (This corresponds to the rules for <a href=#boolean-attribute title="boolean attribute">boolean content attributes</a>.)</p>
false, and must be set to the empty string if the IDL attribute is
set to true. (This corresponds to the rules for <a href=#boolean-attribute title="boolean
attribute">boolean content attributes</a>.)</p>

<p>If a reflecting IDL attribute is a signed integer type
(<code>long</code>) then, on getting, the content attribute must be
Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -6035,9 +6035,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
attribute, then on getting the IDL attribute must return true if the
content attribute is set, and false if it is absent. On setting, the
content attribute must be removed if the IDL attribute is set to
false, and must be set to have the same value as its name if the IDL
attribute is set to true. (This corresponds to the rules for <span
title="boolean attribute">boolean content attributes</span>.)</p>
false, and must be set to the empty string if the IDL attribute is
set to true. (This corresponds to the rules for <span title="boolean
attribute">boolean content attributes</span>.)</p>

<p>If a reflecting IDL attribute is a signed integer type
(<code>long</code>) then, on getting, the content attribute must be
Expand Down

0 comments on commit ff39585

Please sign in to comment.