[html5] r6480 - [giow] (0) Make sure commands aren't exposed when not in a document. Fixing http [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 16 20:46:43 PDT 2011


Author: ianh
Date: 2011-08-16 20:46:41 -0700 (Tue, 16 Aug 2011)
New Revision: 6480

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Make sure commands aren't exposed when not in a document.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13130

Modified: complete.html
===================================================================
--- complete.html	2011-08-17 00:42:40 UTC (rev 6479)
+++ complete.html	2011-08-17 03:46:41 UTC (rev 6480)
@@ -54006,8 +54006,10 @@
   </div>
 
   <hr><p>User agents may expose the <a href=#concept-command title=concept-command>commands</a> whose <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a> facet is false
-  (visible), e.g. in the user agent's menu bar. User agents are
-  encouraged to do this especially for commands that have <a href=#command-facet-accesskey title=command-facet-AccessKey>Access Keys</a>, as a way to
+  (visible) and whose elements are <a href=#in-a-document>in a
+  <code>Document</code></a>. For example, such commands could be
+  listed in the user agent's menu bar. User agents are encouraged to
+  do this especially for commands that have <a href=#command-facet-accesskey title=command-facet-AccessKey>Access Keys</a>, as a way to
   advertise those keys to the user.</p>
 
 
@@ -71302,16 +71304,19 @@
 
   <p>When the user presses the key combination corresponding to the
   <a href=#assigned-access-key>assigned access key</a> for an element, if the element
-  <a href=#concept-command title=concept-command>defines a command</a>, and the
+  <a href=#concept-command title=concept-command>defines a command</a>, the
   command's <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden
-  State</a> facet is false (visible), and the command's <a href=#command-facet-disabledstate title=command-facet-DisabledState>Disabled State</a> facet is
-  also false (enabled), then the user agent must trigger the <a href=#command-facet-action title=command-facet-Action>Action</a> of the command.</p>
+  State</a> facet is false (visible), the command's <a href=#command-facet-disabledstate title=command-facet-DisabledState>Disabled State</a> facet is
+  also false (enabled), and the element is <a href=#in-a-document>in a
+  <code>Document</code></a>, then the user agent must trigger the
+  <a href=#command-facet-action title=command-facet-Action>Action</a> of the command.</p>
 
-  <p>User agents may expose elements that have an <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute in other ways as
+  <p class=note>User agents might expose elements that have an <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute in other ways as
   well, e.g. in a menu displayed in response to a specific key
-  combination.</p>
+  combination.</p> <!-- the actual conformance criteria for this is in
+  the section that defines commands -->
 
-  <p>The <dfn id=dom-accesskey title=dom-accessKey><code>accessKey</code></dfn> IDL
+  <hr><p>The <dfn id=dom-accesskey title=dom-accessKey><code>accessKey</code></dfn> IDL
   attribute must <a href=#reflect>reflect</a> the <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute.</p>
 
   <p>The <dfn id=dom-accesskeylabel title=dom-accessKeyLabel><code>accessKeyLabel</code></dfn> IDL

Modified: index
===================================================================
--- index	2011-08-17 00:42:40 UTC (rev 6479)
+++ index	2011-08-17 03:46:41 UTC (rev 6480)
@@ -53873,8 +53873,10 @@
   </div>
 
   <hr><p>User agents may expose the <a href=#concept-command title=concept-command>commands</a> whose <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a> facet is false
-  (visible), e.g. in the user agent's menu bar. User agents are
-  encouraged to do this especially for commands that have <a href=#command-facet-accesskey title=command-facet-AccessKey>Access Keys</a>, as a way to
+  (visible) and whose elements are <a href=#in-a-document>in a
+  <code>Document</code></a>. For example, such commands could be
+  listed in the user agent's menu bar. User agents are encouraged to
+  do this especially for commands that have <a href=#command-facet-accesskey title=command-facet-AccessKey>Access Keys</a>, as a way to
   advertise those keys to the user.</p>
 
 
@@ -71198,16 +71200,19 @@
 
   <p>When the user presses the key combination corresponding to the
   <a href=#assigned-access-key>assigned access key</a> for an element, if the element
-  <a href=#concept-command title=concept-command>defines a command</a>, and the
+  <a href=#concept-command title=concept-command>defines a command</a>, the
   command's <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden
-  State</a> facet is false (visible), and the command's <a href=#command-facet-disabledstate title=command-facet-DisabledState>Disabled State</a> facet is
-  also false (enabled), then the user agent must trigger the <a href=#command-facet-action title=command-facet-Action>Action</a> of the command.</p>
+  State</a> facet is false (visible), the command's <a href=#command-facet-disabledstate title=command-facet-DisabledState>Disabled State</a> facet is
+  also false (enabled), and the element is <a href=#in-a-document>in a
+  <code>Document</code></a>, then the user agent must trigger the
+  <a href=#command-facet-action title=command-facet-Action>Action</a> of the command.</p>
 
-  <p>User agents may expose elements that have an <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute in other ways as
+  <p class=note>User agents might expose elements that have an <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute in other ways as
   well, e.g. in a menu displayed in response to a specific key
-  combination.</p>
+  combination.</p> <!-- the actual conformance criteria for this is in
+  the section that defines commands -->
 
-  <p>The <dfn id=dom-accesskey title=dom-accessKey><code>accessKey</code></dfn> IDL
+  <hr><p>The <dfn id=dom-accesskey title=dom-accessKey><code>accessKey</code></dfn> IDL
   attribute must <a href=#reflect>reflect</a> the <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute.</p>
 
   <p>The <dfn id=dom-accesskeylabel title=dom-accessKeyLabel><code>accessKeyLabel</code></dfn> IDL

Modified: source
===================================================================
--- source	2011-08-17 00:42:40 UTC (rev 6479)
+++ source	2011-08-17 03:46:41 UTC (rev 6480)
@@ -60797,8 +60797,10 @@
   <p>User agents may expose the <span
   title="concept-command">commands</span> whose <span
   title="command-facet-HiddenState">Hidden State</span> facet is false
-  (visible), e.g. in the user agent's menu bar. User agents are
-  encouraged to do this especially for commands that have <span
+  (visible) and whose elements are <span>in a
+  <code>Document</code></span>. For example, such commands could be
+  listed in the user agent's menu bar. User agents are encouraged to
+  do this especially for commands that have <span
   title="command-facet-AccessKey">Access Keys</span>, as a way to
   advertise those keys to the user.</p>
 
@@ -81114,18 +81116,22 @@
 
   <p>When the user presses the key combination corresponding to the
   <span>assigned access key</span> for an element, if the element
-  <span title="concept-command">defines a command</span>, and the
+  <span title="concept-command">defines a command</span>, the
   command's <span title="command-facet-HiddenState">Hidden
-  State</span> facet is false (visible), and the command's <span
+  State</span> facet is false (visible), the command's <span
   title="command-facet-DisabledState">Disabled State</span> facet is
-  also false (enabled), then the user agent must trigger the <span
-  title="command-facet-Action">Action</span> of the command.</p>
+  also false (enabled), and the element is <span>in a
+  <code>Document</code></span>, then the user agent must trigger the
+  <span title="command-facet-Action">Action</span> of the command.</p>
 
-  <p>User agents may expose elements that have an <code
+  <p class="note">User agents might expose elements that have an <code
   title="attr-accesskey">accesskey</code> attribute in other ways as
   well, e.g. in a menu displayed in response to a specific key
-  combination.</p>
+  combination.</p> <!-- the actual conformance criteria for this is in
+  the section that defines commands -->
 
+  <hr>
+
   <p>The <dfn title="dom-accessKey"><code>accessKey</code></dfn> IDL
   attribute must <span>reflect</span> the <code
   title="attr-accesskey">accesskey</code> content attribute.</p>




More information about the Commit-Watchers mailing list