[html5] r5022 - [giow] (0) Make boolean attributes reflect true to the empty string, not the att [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 13 00:48:25 PDT 2010


Author: ianh
Date: 2010-04-13 00:48:23 -0700 (Tue, 13 Apr 2010)
New Revision: 5022

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Make boolean attributes reflect true to the empty string, not the attribute name.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9470

Modified: complete.html
===================================================================
--- complete.html	2010-04-13 07:43:26 UTC (rev 5021)
+++ complete.html	2010-04-13 07:48:23 UTC (rev 5022)
@@ -6448,8 +6448,9 @@
   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

Modified: index
===================================================================
--- index	2010-04-13 07:43:26 UTC (rev 5021)
+++ index	2010-04-13 07:48:23 UTC (rev 5022)
@@ -6346,8 +6346,9 @@
   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

Modified: source
===================================================================
--- source	2010-04-13 07:43:26 UTC (rev 5021)
+++ source	2010-04-13 07:48:23 UTC (rev 5022)
@@ -6035,9 +6035,9 @@
   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




More information about the Commit-Watchers mailing list