[html5] r8027 - [c] (0) Restrict <menuitem radiogroup> to not allow the empty string (since it'l [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 3 13:56:58 PDT 2013


Author: ianh
Date: 2013-07-03 13:56:57 -0700 (Wed, 03 Jul 2013)
New Revision: 8027

Modified:
   complete.html
   index
   source
Log:
[c] (0) Restrict <menuitem radiogroup> to not allow the empty string (since it'll look like it's different than the absence of the attribute, but those two cases are treated the same)
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22519
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-07-03 20:45:28 UTC (rev 8026)
+++ complete.html	2013-07-03 20:56:57 UTC (rev 8027)
@@ -57007,7 +57007,8 @@
   name of the group of commands that will be toggled when the command itself is toggled, for
   commands whose <code title=attr-menuitem-type><a href=#attr-menuitem-type>type</a></code> attribute has the value "<code title="">radio</code>". The scope of the name is the child list of the parent element. The
   attribute must be omitted unless the <code title=attr-menuitem-type><a href=#attr-menuitem-type>type</a></code> attribute is in
-  the <a href=#attr-menuitem-type-state-radio title=attr-menuitem-type-state-radio>Radio</a> state.</p>
+  the <a href=#attr-menuitem-type-state-radio title=attr-menuitem-type-state-radio>Radio</a> state. When specified, the
+  attribute's value must be a non-empty string.</p>
 
   <hr><p>If a <code><a href=#the-menuitem-element>menuitem</a></code> element <var title="">slave</var> has a <dfn id=attr-menuitem-command title=attr-menuitem-command><code>command</code></dfn> attribute, and there is an element in <var title="">slave</var>'s <a href=#home-subtree>home subtree</a>
   whose <a href=#concept-id title=concept-id>ID</a> has a value equal to the value of <var title="">slave</var>'s <code title=attr-menuitem-command><a href=#attr-menuitem-command>command</a></code> attribute, and the first

Modified: index
===================================================================
--- index	2013-07-03 20:45:28 UTC (rev 8026)
+++ index	2013-07-03 20:56:57 UTC (rev 8027)
@@ -57007,7 +57007,8 @@
   name of the group of commands that will be toggled when the command itself is toggled, for
   commands whose <code title=attr-menuitem-type><a href=#attr-menuitem-type>type</a></code> attribute has the value "<code title="">radio</code>". The scope of the name is the child list of the parent element. The
   attribute must be omitted unless the <code title=attr-menuitem-type><a href=#attr-menuitem-type>type</a></code> attribute is in
-  the <a href=#attr-menuitem-type-state-radio title=attr-menuitem-type-state-radio>Radio</a> state.</p>
+  the <a href=#attr-menuitem-type-state-radio title=attr-menuitem-type-state-radio>Radio</a> state. When specified, the
+  attribute's value must be a non-empty string.</p>
 
   <hr><p>If a <code><a href=#the-menuitem-element>menuitem</a></code> element <var title="">slave</var> has a <dfn id=attr-menuitem-command title=attr-menuitem-command><code>command</code></dfn> attribute, and there is an element in <var title="">slave</var>'s <a href=#home-subtree>home subtree</a>
   whose <a href=#concept-id title=concept-id>ID</a> has a value equal to the value of <var title="">slave</var>'s <code title=attr-menuitem-command><a href=#attr-menuitem-command>command</a></code> attribute, and the first

Modified: source
===================================================================
--- source	2013-07-03 20:45:28 UTC (rev 8026)
+++ source	2013-07-03 20:56:57 UTC (rev 8027)
@@ -63042,7 +63042,8 @@
   commands whose <code title="attr-menuitem-type">type</code> attribute has the value "<code
   title="">radio</code>". The scope of the name is the child list of the parent element. The
   attribute must be omitted unless the <code title="attr-menuitem-type">type</code> attribute is in
-  the <span title="attr-menuitem-type-state-radio">Radio</span> state.</p>
+  the <span title="attr-menuitem-type-state-radio">Radio</span> state. When specified, the
+  attribute's value must be a non-empty string.</p>
 
   <hr>
 




More information about the Commit-Watchers mailing list