Skip to content

Commit

Permalink
[c] (0) Restrict <menuitem radiogroup> to not allow the empty string …
Browse files Browse the repository at this point in the history
…(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

git-svn-id: http://svn.whatwg.org/webapps@8027 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 3, 2013
1 parent 5dd19dc commit 03101fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion complete.html
Expand Up @@ -57007,7 +57007,8 @@ <h4 id=the-menuitem-element><span class=secno>4.11.4 </span>The <dfn><code>menui
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
Expand Down
3 changes: 2 additions & 1 deletion index
Expand Up @@ -57007,7 +57007,8 @@ fur
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
Expand Down
3 changes: 2 additions & 1 deletion source
Expand Up @@ -63042,7 +63042,8 @@ fur
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>

Expand Down

0 comments on commit 03101fe

Please sign in to comment.