Skip to content

Commit

Permalink
[e] (0) The spec for reflecting 'boolean' attributes made no sense.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@4881 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 29, 2010
1 parent ef8a70c commit d342c0d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -6100,9 +6100,9 @@ <h4 id=reflecting-content-attributes-in-idl-attributes><span class=secno>2.7.1 <
doesn't fall into any of the above categories, then the getting and
setting must be done in a transparent, case-preserving manner.</p>

<p>If a reflecting IDL attribute is a <a href=#boolean-attribute>boolean
attribute</a>, then on getting the IDL attribute must return true
if the attribute is set, and false if it is absent. On setting, the
<p>If a reflecting IDL attribute is a <code title="">boolean</code>
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>
Expand Down
6 changes: 3 additions & 3 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -5998,9 +5998,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
doesn't fall into any of the above categories, then the getting and
setting must be done in a transparent, case-preserving manner.</p>

<p>If a reflecting IDL attribute is a <a href=#boolean-attribute>boolean
attribute</a>, then on getting the IDL attribute must return true
if the attribute is set, and false if it is absent. On setting, the
<p>If a reflecting IDL attribute is a <code title="">boolean</code>
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>
Expand Down
6 changes: 3 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -5654,9 +5654,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
doesn't fall into any of the above categories, then the getting and
setting must be done in a transparent, case-preserving manner.</p>

<p>If a reflecting IDL attribute is a <span>boolean
attribute</span>, then on getting the IDL attribute must return true
if the attribute is set, and false if it is absent. On setting, the
<p>If a reflecting IDL attribute is a <code title="">boolean</code>
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
Expand Down

0 comments on commit d342c0d

Please sign in to comment.