[html5] r8026 - [c] (0) Make a note that this is where command='''s syntax is defined, and also [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jul 3 13:45:29 PDT 2013
Author: ianh
Date: 2013-07-03 13:45:28 -0700 (Wed, 03 Jul 2013)
New Revision: 8026
Modified:
complete.html
index
source
Log:
[c] (0) Make a note that this is where command='''s syntax is defined, and also make <menuitem> something that can be legally given in a detached subtree
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22518
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2013-07-03 19:41:26 UTC (rev 8025)
+++ complete.html 2013-07-03 20:45:28 UTC (rev 8026)
@@ -57009,16 +57009,18 @@
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>
- <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 <var title="">slave</var>
- is <a href=#in-a-document>in a <code>Document</code></a>, and there is an element in that <code><a href=#document>Document</a></code>
+ <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
such element in <a href=#tree-order>tree order</a>, hereafter <var title="">master</var>, itself <a href=#concept-command title=concept-command>defines a command</a> and either is not a <code><a href=#the-menuitem-element>menuitem</a></code> element
or does not itself have a <code title=attr-menuitem-command><a href=#attr-menuitem-command>command</a></code> attribute, then the
<dfn id=master-command>master command</dfn> of <var title="">slave</var> is <var title="">master</var>.</p>
- <p>An element with a <code title=attr-menuitem-command><a href=#attr-menuitem-command>command</a></code> attribute must have a
+ <p>A <code><a href=#the-menuitem-element>menuitem</a></code> element with a <code title=attr-menuitem-command><a href=#attr-menuitem-command>command</a></code> attribute must have a
<a href=#master-command>master command</a>.</p>
+ <p class=note>This effectively defines the syntax of the attribute's value as being the ID of
+ another element that <a href=#concept-command title=concept-command>defines a command</a>.</p>
+
<hr><p>The <dfn id=attr-menuitem-title title=attr-menuitem-title><code>title</code></dfn> attribute gives a hint describing
the command, which might be shown to the user to help him.</p>
Modified: index
===================================================================
--- index 2013-07-03 19:41:26 UTC (rev 8025)
+++ index 2013-07-03 20:45:28 UTC (rev 8026)
@@ -57009,16 +57009,18 @@
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>
- <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 <var title="">slave</var>
- is <a href=#in-a-document>in a <code>Document</code></a>, and there is an element in that <code><a href=#document>Document</a></code>
+ <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
such element in <a href=#tree-order>tree order</a>, hereafter <var title="">master</var>, itself <a href=#concept-command title=concept-command>defines a command</a> and either is not a <code><a href=#the-menuitem-element>menuitem</a></code> element
or does not itself have a <code title=attr-menuitem-command><a href=#attr-menuitem-command>command</a></code> attribute, then the
<dfn id=master-command>master command</dfn> of <var title="">slave</var> is <var title="">master</var>.</p>
- <p>An element with a <code title=attr-menuitem-command><a href=#attr-menuitem-command>command</a></code> attribute must have a
+ <p>A <code><a href=#the-menuitem-element>menuitem</a></code> element with a <code title=attr-menuitem-command><a href=#attr-menuitem-command>command</a></code> attribute must have a
<a href=#master-command>master command</a>.</p>
+ <p class=note>This effectively defines the syntax of the attribute's value as being the ID of
+ another element that <a href=#concept-command title=concept-command>defines a command</a>.</p>
+
<hr><p>The <dfn id=attr-menuitem-title title=attr-menuitem-title><code>title</code></dfn> attribute gives a hint describing
the command, which might be shown to the user to help him.</p>
Modified: source
===================================================================
--- source 2013-07-03 19:41:26 UTC (rev 8025)
+++ source 2013-07-03 20:45:28 UTC (rev 8026)
@@ -63047,8 +63047,7 @@
<hr>
<p>If a <code>menuitem</code> element <var title="">slave</var> has a <dfn
- title="attr-menuitem-command"><code>command</code></dfn> attribute, and <var title="">slave</var>
- is <span>in a <code>Document</code></span>, and there is an element in that <code>Document</code>
+ title="attr-menuitem-command"><code>command</code></dfn> attribute, and there is an element in <var title="">slave</var>'s <span>home subtree</span>
whose <span title="concept-id">ID</span> has a value equal to the value of <var
title="">slave</var>'s <code title="attr-menuitem-command">command</code> attribute, and the first
such element in <span>tree order</span>, hereafter <var title="">master</var>, itself <span
@@ -63056,9 +63055,12 @@
or does not itself have a <code title="attr-menuitem-command">command</code> attribute, then the
<dfn>master command</dfn> of <var title="">slave</var> is <var title="">master</var>.</p>
- <p>An element with a <code title="attr-menuitem-command">command</code> attribute must have a
+ <p>A <code>menuitem</code> element with a <code title="attr-menuitem-command">command</code> attribute must have a
<span>master command</span>.</p>
+ <p class="note">This effectively defines the syntax of the attribute's value as being the ID of
+ another element that <span title="concept-command">defines a command</span>.</p>
+
<hr>
<p>The <dfn title="attr-menuitem-title"><code>title</code></dfn> attribute gives a hint describing
More information about the Commit-Watchers
mailing list