[html5] r6286 - [giow] (0) Rename the command API. Instead of reusing the existing APIs, we'll h [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 11 14:21:05 PDT 2011


Author: ianh
Date: 2011-07-11 14:21:03 -0700 (Mon, 11 Jul 2011)
New Revision: 6286

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Rename the command API. Instead of reusing the existing APIs, we'll have an entirely new (readonly) API. Trying to reuse the existing API was an interesting idea but 

Modified: complete.html
===================================================================
--- complete.html	2011-07-08 19:28:43 UTC (rev 6285)
+++ complete.html	2011-07-11 21:21:03 UTC (rev 6286)
@@ -239,7 +239,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 8 July 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 11 July 2011</h2>
    </hgroup><dl><dt>Multiple-page version:</dt>
     <dd><a href=http://www.whatwg.org/specs/web-apps/current-work/complete/>http://www.whatwg.org/specs/web-apps/current-work/complete/</a></dd>
     <dt>One-page version:</dt>
@@ -10394,11 +10394,12 @@
 
   // <a href=#command-api>command API</a>
   readonly attribute DOMString? <a href=#dom-command-ro-commandtype title=dom-command-ro-commandType>commandType</a>;
-  readonly attribute DOMString? <a href=#dom-command-ro-label title=dom-command-ro-label>label</a>;
-  readonly attribute DOMString? <a href=#dom-command-ro-icon title=dom-command-ro-icon>icon</a>;
-  readonly attribute boolean <a href=#dom-command-ro-disabled title=dom-command-ro-disabled>disabled</a>;
-  readonly attribute boolean <a href=#dom-command-ro-checked title=dom-command-ro-checked>checked</a>;<!-- v2COMMAND
-  readonly attribute <span>HTMLCollection</span> <span title="dom-command-ro-triggers">triggers</span>;-->
+  readonly attribute DOMString? <a href=#dom-command-ro-commandlabel title=dom-command-ro-commandLabel>commandLabel</a>;
+  readonly attribute DOMString? <a href=#dom-command-ro-commandicon title=dom-command-ro-commandIcon>commandIcon</a>;
+  readonly attribute boolean? <a href=#dom-command-ro-commandhidden title=dom-command-ro-commandHidden>commandHidden</a>;
+  readonly attribute boolean? <a href=#dom-command-ro-commanddisabled title=dom-command-ro-commandDisabled>commandDisabled</a>;
+  readonly attribute boolean? <a href=#dom-command-ro-commandchecked title=dom-command-ro-commandChecked>commandChecked</a>;<!-- v2COMMAND
+  readonly attribute <span>HTMLCollection</span> <span title="dom-command-ro-commandTriggers">commandTriggers</span>;-->
 
   // <span>styling</span>
   readonly attribute <span>CSSStyleDeclaration</span> <a href=#dom-style title=dom-style>style</a>;
@@ -53580,7 +53581,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-command-ro-label><a href=#dom-command-ro-label>label</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandLabel><a href=#dom-command-ro-commandlabel>commandLabel</a></code></dt>
 
    <dd>
 
@@ -53596,7 +53597,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-command-ro-icon><a href=#dom-command-ro-icon>icon</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandIcon><a href=#dom-command-ro-commandicon>commandIcon</a></code></dt>
 
    <dd>
 
@@ -53612,21 +53613,15 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-hidden><a href=#dom-hidden>hidden</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandHidden><a href=#dom-command-ro-commandhidden>commandHidden</a></code></dt>
 
    <dd>
 
-    <p>Exposes the state of the element's <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute, which is generally
-    equivalent to the <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden
-    State</a> facet of the command. For <code><a href=#the-label-element>label</a></code> and
-    <code><a href=#the-legend-element>legend</a></code> elements (used in conjunction with the <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute), the <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a> facet is
-    derived from another element (the one that the <a href=#assigned-access-key>assigned
-    access key</a> will trigger), and cannot be directly accessed
-    from the element.</p>
+    <p>Exposes the <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a> facet of the command.</p>
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-command-ro-disabled><a href=#dom-command-ro-disabled>disabled</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandDisabled><a href=#dom-command-ro-commanddisabled>commandDisabled</a></code></dt>
 
    <dd>
 
@@ -53634,7 +53629,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-command-ro-checked><a href=#dom-command-ro-checked>checked</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandChecked><a href=#dom-command-ro-commandchecked>commandChecked</a></code></dt>
 
    <dd>
 
@@ -53651,7 +53646,7 @@
    </dd>
 
 <!--v2COMMAND
-   <dt><var title="">element</var> . <code title="dom-command-ro-triggers">triggers</code></dt>
+   <dt><var title="">element</var> . <code title="dom-command-ro-commandTriggers">commandTriggers</code></dt>
 
    <dd>
 
@@ -53667,37 +53662,38 @@
   element is "command", "radio", or "checkbox" respectively. If the
   element does not define a command, it must return null.</p>
 
-  <p>The <dfn id=dom-command-ro-label title=dom-command-ro-label><code>label</code></dfn>
+  <p>The <dfn id=dom-command-ro-commandlabel title=dom-command-ro-commandLabel><code>commandLabel</code></dfn>
   attribute must return the command's <a href=#command-facet-label title=command-facet-Label>Label</a>, or null if the element
-  does not define a command or does not specify a <a href=#command-facet-label title=command-facet-Label>Label</a>. This attribute will be
-  shadowed by the <code title="">label</code> IDL attribute on
-  various elements.</p>
+  does not define a command or does not specify a <a href=#command-facet-label title=command-facet-Label>Label</a>.</p>
 
-  <p>The <dfn id=dom-command-ro-icon title=dom-command-ro-icon><code>icon</code></dfn>
+  <p>The <dfn id=dom-command-ro-commandicon title=dom-command-ro-commandIcon><code>commandIcon</code></dfn>
   attribute must return the <a href=#absolute-url>absolute URL</a> of the command's
   <a href=#command-facet-icon title=command-facet-Icon>Icon</a>. If the element does
   not specify an icon, or if the element does not define a command,
-  then the attribute must return null. This attribute will be shadowed
-  by the <code title=dom-command-icon><a href=#dom-command-icon>icon</a></code> IDL attribute on
-  <code><a href=#the-command-element>command</a></code> elements.</p>
+  then the attribute must return null.</p>
 
-  <p>The <dfn id=dom-command-ro-disabled title=dom-command-ro-disabled><code>disabled</code></dfn>
+  <p>The <dfn id=dom-command-ro-commandhidden title=dom-command-ro-commandHidden><code>commandHidden</code></dfn>
+  attribute must return true if the command's <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a> is that the
+  command is hidden, and false if the command is not hidden. If the
+  element does not define a command, the attribute must return
+  null.</p>
+
+  <p>The <dfn id=dom-command-ro-commanddisabled title=dom-command-ro-commandDisabled><code>commandDisabled</code></dfn>
   attribute must return true if the command's <a href=#command-facet-disabledstate title=command-facet-DisabledState>Disabled State</a> is that
-  the command is disabled, and false if the command is not
-  disabled. This attribute is not affected by the command's <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a>. If the
+  the command is disabled, and false if the command is not disabled.
+  This attribute is not affected by the command's <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a>. If the
   element does not define a command, the attribute must return
-  false. This attribute will be shadowed by the <code title="">disabled</code> IDL attribute on various elements.</p>
+  null.</p>
 
-  <p>The <dfn id=dom-command-ro-checked title=dom-command-ro-checked><code>checked</code></dfn> attribute
-  must return true if the command's <a href=#command-facet-checkedstate title=command-facet-CheckedState>Checked State</a> is that the
+  <p>The <dfn id=dom-command-ro-commandchecked title=dom-command-ro-commandChecked><code>commandChecked</code></dfn>
+  attribute must return true if the command's <a href=#command-facet-checkedstate title=command-facet-CheckedState>Checked State</a> is that the
   command is checked, and false if it is that the command is not
   checked. If the element does not define a command, the attribute
-  must return false. This attribute will be shadowed by the <code title="">checked</code> IDL attribute on <code><a href=#the-input-element>input</a></code> and
-  <code><a href=#the-command-element>command</a></code> elements.</p>
+  must return null.</p>
 
 <!--v2COMMAND
   <p>The <dfn
-  title="dom-command-ro-triggers"><code>triggers</code></dfn>
+  title="dom-command-ro-commandTriggers"><code>commandTriggers</code></dfn>
   attribute must return a list containing the elements that can
   trigger the command (the command's <span
   title="command-facet-Triggers">Triggers</span>). The list must be
@@ -53706,12 +53702,11 @@
 -->
 
   <p class=note>The <a href=#command-facet-id title=command-facet-ID>ID</a> facet
-  is exposed by the <code title=dom-id><a href=#dom-id>id</a></code> IDL attribute,
-  the <a href=#command-facet-hint title=command-facet-Hint>Hint</a> facet is exposed by
-  the <code title=dom-title><a href=#dom-title>title</a></code> IDL attribute, the <a href=#command-facet-accesskey title=command-facet-AccessKey>AccessKey</a> facet is exposed by
+  is exposed by the <code title=dom-id><a href=#dom-id>id</a></code> IDL attribute, the
+  <a href=#command-facet-hint title=command-facet-Hint>Hint</a> facet is exposed by the
+  <code title=dom-title><a href=#dom-title>title</a></code> IDL attribute, and the <a href=#command-facet-accesskey title=command-facet-AccessKey>AccessKey</a> facet is exposed by
   the <code title=dom-accessKeyLabel><a href=#dom-accesskeylabel>accessKeyLabel</a></code> IDL
-  attribute, and the <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden
-  State</a> facet is exposed by the <code title=dom-hidden><a href=#dom-hidden>hidden</a></code> IDL attribute.</p>
+  attribute.</p>
 
   </div>
 

Modified: index
===================================================================
--- index	2011-07-08 19:28:43 UTC (rev 6285)
+++ index	2011-07-11 21:21:03 UTC (rev 6286)
@@ -243,7 +243,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 8 July 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 11 July 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -10263,11 +10263,12 @@
 
   // <a href=#command-api>command API</a>
   readonly attribute DOMString? <a href=#dom-command-ro-commandtype title=dom-command-ro-commandType>commandType</a>;
-  readonly attribute DOMString? <a href=#dom-command-ro-label title=dom-command-ro-label>label</a>;
-  readonly attribute DOMString? <a href=#dom-command-ro-icon title=dom-command-ro-icon>icon</a>;
-  readonly attribute boolean <a href=#dom-command-ro-disabled title=dom-command-ro-disabled>disabled</a>;
-  readonly attribute boolean <a href=#dom-command-ro-checked title=dom-command-ro-checked>checked</a>;<!-- v2COMMAND
-  readonly attribute <span>HTMLCollection</span> <span title="dom-command-ro-triggers">triggers</span>;-->
+  readonly attribute DOMString? <a href=#dom-command-ro-commandlabel title=dom-command-ro-commandLabel>commandLabel</a>;
+  readonly attribute DOMString? <a href=#dom-command-ro-commandicon title=dom-command-ro-commandIcon>commandIcon</a>;
+  readonly attribute boolean? <a href=#dom-command-ro-commandhidden title=dom-command-ro-commandHidden>commandHidden</a>;
+  readonly attribute boolean? <a href=#dom-command-ro-commanddisabled title=dom-command-ro-commandDisabled>commandDisabled</a>;
+  readonly attribute boolean? <a href=#dom-command-ro-commandchecked title=dom-command-ro-commandChecked>commandChecked</a>;<!-- v2COMMAND
+  readonly attribute <span>HTMLCollection</span> <span title="dom-command-ro-commandTriggers">commandTriggers</span>;-->
 
   // <span>styling</span>
   readonly attribute <span>CSSStyleDeclaration</span> <a href=#dom-style title=dom-style>style</a>;
@@ -53452,7 +53453,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-command-ro-label><a href=#dom-command-ro-label>label</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandLabel><a href=#dom-command-ro-commandlabel>commandLabel</a></code></dt>
 
    <dd>
 
@@ -53468,7 +53469,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-command-ro-icon><a href=#dom-command-ro-icon>icon</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandIcon><a href=#dom-command-ro-commandicon>commandIcon</a></code></dt>
 
    <dd>
 
@@ -53484,21 +53485,15 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-hidden><a href=#dom-hidden>hidden</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandHidden><a href=#dom-command-ro-commandhidden>commandHidden</a></code></dt>
 
    <dd>
 
-    <p>Exposes the state of the element's <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute, which is generally
-    equivalent to the <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden
-    State</a> facet of the command. For <code><a href=#the-label-element>label</a></code> and
-    <code><a href=#the-legend-element>legend</a></code> elements (used in conjunction with the <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute), the <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a> facet is
-    derived from another element (the one that the <a href=#assigned-access-key>assigned
-    access key</a> will trigger), and cannot be directly accessed
-    from the element.</p>
+    <p>Exposes the <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a> facet of the command.</p>
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-command-ro-disabled><a href=#dom-command-ro-disabled>disabled</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandDisabled><a href=#dom-command-ro-commanddisabled>commandDisabled</a></code></dt>
 
    <dd>
 
@@ -53506,7 +53501,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title=dom-command-ro-checked><a href=#dom-command-ro-checked>checked</a></code></dt>
+   <dt><var title="">element</var> . <code title=dom-command-ro-commandChecked><a href=#dom-command-ro-commandchecked>commandChecked</a></code></dt>
 
    <dd>
 
@@ -53523,7 +53518,7 @@
    </dd>
 
 <!--v2COMMAND
-   <dt><var title="">element</var> . <code title="dom-command-ro-triggers">triggers</code></dt>
+   <dt><var title="">element</var> . <code title="dom-command-ro-commandTriggers">commandTriggers</code></dt>
 
    <dd>
 
@@ -53539,37 +53534,38 @@
   element is "command", "radio", or "checkbox" respectively. If the
   element does not define a command, it must return null.</p>
 
-  <p>The <dfn id=dom-command-ro-label title=dom-command-ro-label><code>label</code></dfn>
+  <p>The <dfn id=dom-command-ro-commandlabel title=dom-command-ro-commandLabel><code>commandLabel</code></dfn>
   attribute must return the command's <a href=#command-facet-label title=command-facet-Label>Label</a>, or null if the element
-  does not define a command or does not specify a <a href=#command-facet-label title=command-facet-Label>Label</a>. This attribute will be
-  shadowed by the <code title="">label</code> IDL attribute on
-  various elements.</p>
+  does not define a command or does not specify a <a href=#command-facet-label title=command-facet-Label>Label</a>.</p>
 
-  <p>The <dfn id=dom-command-ro-icon title=dom-command-ro-icon><code>icon</code></dfn>
+  <p>The <dfn id=dom-command-ro-commandicon title=dom-command-ro-commandIcon><code>commandIcon</code></dfn>
   attribute must return the <a href=#absolute-url>absolute URL</a> of the command's
   <a href=#command-facet-icon title=command-facet-Icon>Icon</a>. If the element does
   not specify an icon, or if the element does not define a command,
-  then the attribute must return null. This attribute will be shadowed
-  by the <code title=dom-command-icon><a href=#dom-command-icon>icon</a></code> IDL attribute on
-  <code><a href=#the-command-element>command</a></code> elements.</p>
+  then the attribute must return null.</p>
 
-  <p>The <dfn id=dom-command-ro-disabled title=dom-command-ro-disabled><code>disabled</code></dfn>
+  <p>The <dfn id=dom-command-ro-commandhidden title=dom-command-ro-commandHidden><code>commandHidden</code></dfn>
+  attribute must return true if the command's <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a> is that the
+  command is hidden, and false if the command is not hidden. If the
+  element does not define a command, the attribute must return
+  null.</p>
+
+  <p>The <dfn id=dom-command-ro-commanddisabled title=dom-command-ro-commandDisabled><code>commandDisabled</code></dfn>
   attribute must return true if the command's <a href=#command-facet-disabledstate title=command-facet-DisabledState>Disabled State</a> is that
-  the command is disabled, and false if the command is not
-  disabled. This attribute is not affected by the command's <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a>. If the
+  the command is disabled, and false if the command is not disabled.
+  This attribute is not affected by the command's <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a>. If the
   element does not define a command, the attribute must return
-  false. This attribute will be shadowed by the <code title="">disabled</code> IDL attribute on various elements.</p>
+  null.</p>
 
-  <p>The <dfn id=dom-command-ro-checked title=dom-command-ro-checked><code>checked</code></dfn> attribute
-  must return true if the command's <a href=#command-facet-checkedstate title=command-facet-CheckedState>Checked State</a> is that the
+  <p>The <dfn id=dom-command-ro-commandchecked title=dom-command-ro-commandChecked><code>commandChecked</code></dfn>
+  attribute must return true if the command's <a href=#command-facet-checkedstate title=command-facet-CheckedState>Checked State</a> is that the
   command is checked, and false if it is that the command is not
   checked. If the element does not define a command, the attribute
-  must return false. This attribute will be shadowed by the <code title="">checked</code> IDL attribute on <code><a href=#the-input-element>input</a></code> and
-  <code><a href=#the-command-element>command</a></code> elements.</p>
+  must return null.</p>
 
 <!--v2COMMAND
   <p>The <dfn
-  title="dom-command-ro-triggers"><code>triggers</code></dfn>
+  title="dom-command-ro-commandTriggers"><code>commandTriggers</code></dfn>
   attribute must return a list containing the elements that can
   trigger the command (the command's <span
   title="command-facet-Triggers">Triggers</span>). The list must be
@@ -53578,12 +53574,11 @@
 -->
 
   <p class=note>The <a href=#command-facet-id title=command-facet-ID>ID</a> facet
-  is exposed by the <code title=dom-id><a href=#dom-id>id</a></code> IDL attribute,
-  the <a href=#command-facet-hint title=command-facet-Hint>Hint</a> facet is exposed by
-  the <code title=dom-title><a href=#dom-title>title</a></code> IDL attribute, the <a href=#command-facet-accesskey title=command-facet-AccessKey>AccessKey</a> facet is exposed by
+  is exposed by the <code title=dom-id><a href=#dom-id>id</a></code> IDL attribute, the
+  <a href=#command-facet-hint title=command-facet-Hint>Hint</a> facet is exposed by the
+  <code title=dom-title><a href=#dom-title>title</a></code> IDL attribute, and the <a href=#command-facet-accesskey title=command-facet-AccessKey>AccessKey</a> facet is exposed by
   the <code title=dom-accessKeyLabel><a href=#dom-accesskeylabel>accessKeyLabel</a></code> IDL
-  attribute, and the <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden
-  State</a> facet is exposed by the <code title=dom-hidden><a href=#dom-hidden>hidden</a></code> IDL attribute.</p>
+  attribute.</p>
 
   </div>
 

Modified: source
===================================================================
--- source	2011-07-08 19:28:43 UTC (rev 6285)
+++ source	2011-07-11 21:21:03 UTC (rev 6286)
@@ -10661,11 +10661,12 @@
 
   // <span>command API</span>
   readonly attribute DOMString? <span title="dom-command-ro-commandType">commandType</span>;
-  readonly attribute DOMString? <span title="dom-command-ro-label">label</span>;
-  readonly attribute DOMString? <span title="dom-command-ro-icon">icon</span>;
-  readonly attribute boolean <span title="dom-command-ro-disabled">disabled</span>;
-  readonly attribute boolean <span title="dom-command-ro-checked">checked</span>;<!-- v2COMMAND
-  readonly attribute <span>HTMLCollection</span> <span title="dom-command-ro-triggers">triggers</span>;-->
+  readonly attribute DOMString? <span title="dom-command-ro-commandLabel">commandLabel</span>;
+  readonly attribute DOMString? <span title="dom-command-ro-commandIcon">commandIcon</span>;
+  readonly attribute boolean? <span title="dom-command-ro-commandHidden">commandHidden</span>;
+  readonly attribute boolean? <span title="dom-command-ro-commandDisabled">commandDisabled</span>;
+  readonly attribute boolean? <span title="dom-command-ro-commandChecked">commandChecked</span>;<!-- v2COMMAND
+  readonly attribute <span>HTMLCollection</span> <span title="dom-command-ro-commandTriggers">commandTriggers</span>;-->
 
   // <span>styling</span>
   readonly attribute <span>CSSStyleDeclaration</span> <span title="dom-style">style</span>;
@@ -60383,7 +60384,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title="dom-command-ro-label">label</code></dt>
+   <dt><var title="">element</var> . <code title="dom-command-ro-commandLabel">commandLabel</code></dt>
 
    <dd>
 
@@ -60399,7 +60400,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title="dom-command-ro-icon">icon</code></dt>
+   <dt><var title="">element</var> . <code title="dom-command-ro-commandIcon">commandIcon</code></dt>
 
    <dd>
 
@@ -60415,24 +60416,15 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title="dom-hidden">hidden</code></dt>
+   <dt><var title="">element</var> . <code title="dom-command-ro-commandHidden">commandHidden</code></dt>
 
    <dd>
 
-    <p>Exposes the state of the element's <code
-    title="attr-hidden">hidden</code> attribute, which is generally
-    equivalent to the <span title="command-facet-HiddenState">Hidden
-    State</span> facet of the command. For <code>label</code> and
-    <code>legend</code> elements (used in conjunction with the <code
-    title="attr-accesskey">accesskey</code> attribute), the <span
-    title="command-facet-HiddenState">Hidden State</span> facet is
-    derived from another element (the one that the <span>assigned
-    access key</span> will trigger), and cannot be directly accessed
-    from the element.</p>
+    <p>Exposes the <span title="command-facet-HiddenState">Hidden State</span> facet of the command.</p>
 
    </dd>
 
-   <dt><var title="">element</var> . <code title="dom-command-ro-disabled">disabled</code></dt>
+   <dt><var title="">element</var> . <code title="dom-command-ro-commandDisabled">commandDisabled</code></dt>
 
    <dd>
 
@@ -60440,7 +60432,7 @@
 
    </dd>
 
-   <dt><var title="">element</var> . <code title="dom-command-ro-checked">checked</code></dt>
+   <dt><var title="">element</var> . <code title="dom-command-ro-commandChecked">commandChecked</code></dt>
 
    <dd>
 
@@ -60457,7 +60449,7 @@
    </dd>
 
 <!--v2COMMAND
-   <dt><var title="">element</var> . <code title="dom-command-ro-triggers">triggers</code></dt>
+   <dt><var title="">element</var> . <code title="dom-command-ro-commandTriggers">commandTriggers</code></dt>
 
    <dd>
 
@@ -60479,46 +60471,47 @@
   element is "command", "radio", or "checkbox" respectively. If the
   element does not define a command, it must return null.</p>
 
-  <p>The <dfn title="dom-command-ro-label"><code>label</code></dfn>
+  <p>The <dfn title="dom-command-ro-commandLabel"><code>commandLabel</code></dfn>
   attribute must return the command's <span
   title="command-facet-Label">Label</span>, or null if the element
   does not define a command or does not specify a <span
-  title="command-facet-Label">Label</span>. This attribute will be
-  shadowed by the <code title="">label</code> IDL attribute on
-  various elements.</p>
+  title="command-facet-Label">Label</span>.</p>
 
-  <p>The <dfn title="dom-command-ro-icon"><code>icon</code></dfn>
+  <p>The <dfn title="dom-command-ro-commandIcon"><code>commandIcon</code></dfn>
   attribute must return the <span>absolute URL</span> of the command's
   <span title="command-facet-Icon">Icon</span>. If the element does
   not specify an icon, or if the element does not define a command,
-  then the attribute must return null. This attribute will be shadowed
-  by the <code title="dom-command-icon">icon</code> IDL attribute on
-  <code>command</code> elements.</p>
+  then the attribute must return null.</p>
 
   <p>The <dfn
-  title="dom-command-ro-disabled"><code>disabled</code></dfn>
+  title="dom-command-ro-commandHidden"><code>commandHidden</code></dfn>
   attribute must return true if the command's <span
+  title="command-facet-HiddenState">Hidden State</span> is that the
+  command is hidden, and false if the command is not hidden. If the
+  element does not define a command, the attribute must return
+  null.</p>
+
+  <p>The <dfn
+  title="dom-command-ro-commandDisabled"><code>commandDisabled</code></dfn>
+  attribute must return true if the command's <span
   title="command-facet-DisabledState">Disabled State</span> is that
-  the command is disabled, and false if the command is not
-  disabled. This attribute is not affected by the command's <span
+  the command is disabled, and false if the command is not disabled.
+  This attribute is not affected by the command's <span
   title="command-facet-HiddenState">Hidden State</span>. If the
   element does not define a command, the attribute must return
-  false. This attribute will be shadowed by the <code
-  title="">disabled</code> IDL attribute on various elements.</p>
+  null.</p>
 
   <p>The <dfn
-  title="dom-command-ro-checked"><code>checked</code></dfn> attribute
-  must return true if the command's <span
+  title="dom-command-ro-commandChecked"><code>commandChecked</code></dfn>
+  attribute must return true if the command's <span
   title="command-facet-CheckedState">Checked State</span> is that the
   command is checked, and false if it is that the command is not
   checked. If the element does not define a command, the attribute
-  must return false. This attribute will be shadowed by the <code
-  title="">checked</code> IDL attribute on <code>input</code> and
-  <code>command</code> elements.</p>
+  must return null.</p>
 
 <!--v2COMMAND
   <p>The <dfn
-  title="dom-command-ro-triggers"><code>triggers</code></dfn>
+  title="dom-command-ro-commandTriggers"><code>commandTriggers</code></dfn>
   attribute must return a list containing the elements that can
   trigger the command (the command's <span
   title="command-facet-Triggers">Triggers</span>). The list must be
@@ -60527,14 +60520,12 @@
 -->
 
   <p class="note">The <span title="command-facet-ID">ID</span> facet
-  is exposed by the <code title="dom-id">id</code> IDL attribute,
-  the <span title="command-facet-Hint">Hint</span> facet is exposed by
-  the <code title="dom-title">title</code> IDL attribute, the <span
+  is exposed by the <code title="dom-id">id</code> IDL attribute, the
+  <span title="command-facet-Hint">Hint</span> facet is exposed by the
+  <code title="dom-title">title</code> IDL attribute, and the <span
   title="command-facet-AccessKey">AccessKey</span> facet is exposed by
   the <code title="dom-accessKeyLabel">accessKeyLabel</code> IDL
-  attribute, and the <span title="command-facet-HiddenState">Hidden
-  State</span> facet is exposed by the <code
-  title="dom-hidden">hidden</code> IDL attribute.</p>
+  attribute.</p>
 
   </div>
 




More information about the Commit-Watchers mailing list