[html5] r3067 - [] (0) Comment out the <command default=''> feature because 'default' is a reser [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sun May 3 00:59:58 PDT 2009
Author: ianh
Date: 2009-05-03 00:59:56 -0700 (Sun, 03 May 2009)
New Revision: 3067
Modified:
index
source
Log:
[] (0) Comment out the <command default=''> feature because 'default' is a reserved word in JS and I can't come up with a better name. Also, 'default' isn't a critical feature, so it can wait for a future version.
Modified: index
===================================================================
--- index 2009-05-03 05:37:40 UTC (rev 3066)
+++ index 2009-05-03 07:59:56 UTC (rev 3067)
@@ -38631,7 +38631,7 @@
<dd><code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code></dd>
<dd><code title=attr-command-checked><a href=#attr-command-checked>checked</a></code></dd>
<dd><code title=attr-command-radiogroup><a href=#attr-command-radiogroup>radiogroup</a></code></dd>
- <dd><code title=attr-command-default><a href=#attr-command-default>default</a></code></dd>
+ <!--<dd><code title="attr-command-default">default</code></dd>-->
<dd>Also, the <code title=attr-command-title><a href=#attr-command-title>title</a></code> attribute has special semantics on this element.</dd>
<dt>DOM interface:</dt>
<dd>
@@ -38641,8 +38641,8 @@
attribute DOMString <a href=#dom-command-icon title=dom-command-icon>icon</a>;
attribute boolean <a href=#dom-command-disabled title=dom-command-disabled>disabled</a>;
attribute boolean <a href=#dom-command-checked title=dom-command-checked>checked</a>;
- attribute DOMString <a href=#dom-command-radiogroup title=dom-command-radiogroup>radiogroup</a>;
- attribute boolean <a href=#dom-command-default title=dom-command-default>default</a>;
+ attribute DOMString <a href=#dom-command-radiogroup title=dom-command-radiogroup>radiogroup</a>;<!--
+ attribute boolean <span title="dom-command-default">default</span>;-->
void <a href=#dom-command-click title=dom-command-click>click</a>(); // shadows <code><a href=#htmlelement>HTMLElement</a></code>.<code title=dom-click><a href=#dom-click>click()</a></code>
};</pre>
</dd>
@@ -38718,30 +38718,35 @@
toggled when the command itself is toggled, for commands whose <code title=attr-command-type><a href=#attr-command-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-command-type><a href=#attr-command-type>type</a></code> attribute is in the <a href=#attr-command-type-state-radio title=attr-command-type-state-radio>Radio</a> state.</p>
- <p>If the <code><a href=#the-command>command</a></code> element is used when <span title="menu generation">generating</span> a <span>context
- menu</span>, then the <dfn id=attr-command-default title=attr-command-default><code>default</code></dfn> attribute
+<!--
+ <p>If the <code>command</code> element is used when <span
+ title="menu generation">generating</span> a <span>context
+ menu</span>, then the <dfn
+ title="attr-command-default"><code>default</code></dfn> attribute
indicates, if present, that the command is the one that would have
been invoked if the user had directly activated the menu's subject
- instead of using its context menu. The <code title=attr-command-default><a href=#attr-command-default>default</a></code> attribute is a
- <a href=#boolean-attribute>boolean attribute</a>. The attribute must be omitted unless
- the <code title=attr-command-type><a href=#attr-command-type>type</a></code> attribute is in the
- <a href=#attr-command-type-state-command title=attr-command-type-state-command>Command</a>
+ instead of using its context menu. The <code
+ title="attr-command-default">default</code> attribute is a
+ <span>boolean attribute</span>. The attribute must be omitted unless
+ the <code title="attr-command-type">type</code> attribute is in the
+ <span title="attr-command-type-state-command">Command</span>
state.</p>
- <div class=example>
+ <div class="example">
- <p class=XXX>Need an example that shows an element that, if
- double-clicked, invokes an action, but that also has a context
- menu, showing the various <code><a href=#the-command>command</a></code> attributes off, and
- that has a default command.</p>
+ ...an example that shows an element that, if double-clicked,
+ invokes an action, but that also has a context menu, showing the
+ various <code>command</code> attributes off, and that has a default
+ command...
</div>
+-->
<div class=impl>
- <p>The <dfn id=dom-command-type title=dom-command-type><code>type</code></dfn>, <dfn id=dom-command-label title=dom-command-label><code>label</code></dfn>, <dfn id=dom-command-icon title=dom-command-icon><code>icon</code></dfn>, <dfn id=dom-command-disabled title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=dom-command-checked title=dom-command-checked><code>checked</code></dfn>, <dfn id=dom-command-radiogroup title=dom-command-radiogroup><code>radiogroup</code></dfn>, and
- <dfn id=dom-command-default title=dom-command-default><code>default</code></dfn> DOM
- attributes must <a href=#reflect>reflect</a> the respective content
+ <p>The <dfn id=dom-command-type title=dom-command-type><code>type</code></dfn>, <dfn id=dom-command-label title=dom-command-label><code>label</code></dfn>, <dfn id=dom-command-icon title=dom-command-icon><code>icon</code></dfn>, <dfn id=dom-command-disabled title=dom-command-disabled><code>disabled</code></dfn>, <dfn id=dom-command-checked title=dom-command-checked><code>checked</code></dfn>, and <dfn id=dom-command-radiogroup title=dom-command-radiogroup><code>radiogroup</code></dfn><!--,
+ and <dfn title="dom-command-default"><code>default</code></dfn>-->
+ DOM attributes must <a href=#reflect>reflect</a> the respective content
attributes of the same name.</p>
<p>The <dfn id=dom-command-click title=dom-command-click><code>click()</code></dfn>
@@ -39183,9 +39188,10 @@
<dl class=switch><dt>An element that <a href=#concept-command title=concept-command>defines a command</a></dt>
<dd>Append the command to the menu, respecting its <a href=#concept-facet title=concept-facet>facets</a><!-- XXX be explicit about what
- this means for each facet -->. If the element is a
- <code><a href=#the-command>command</a></code> element with a <code title=attr-command-default><a href=#attr-command-default>default</a></code> attribute, mark the
- command as being a default command.</dd> <!-- XXX if there's an
+ this means for each facet -->. <!--If the element is a
+ <code>command</code> element with a <code
+ title="attr-command-default">default</code> attribute, mark the
+ command as being a default command.--></dd> <!-- XXX if there's an
Icon facet for the command, it should be <span
title="fetch">fetched</span>, and then that image should be
associated with the command, such that each command only has its
@@ -40185,9 +40191,10 @@
<li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a> or <a href=#image-button-state title=attr-input-type-image>Image Button</a> state, and that
are their form's <a href=#default-button>default button</a></li>
-
- <li><code><a href=#the-command>command</a></code> elements that have a <code title=attr-command-default><a href=#attr-command-default>default</a></code> attribute</li>
-
+<!--
+ <li><code>command</code> elements that have a <code
+ title="attr-command-default">default</code> attribute</li>
+-->
</ul></dd>
Modified: source
===================================================================
--- source 2009-05-03 05:37:40 UTC (rev 3066)
+++ source 2009-05-03 07:59:56 UTC (rev 3067)
@@ -43499,7 +43499,7 @@
<dd><code title="attr-command-disabled">disabled</code></dd>
<dd><code title="attr-command-checked">checked</code></dd>
<dd><code title="attr-command-radiogroup">radiogroup</code></dd>
- <dd><code title="attr-command-default">default</code></dd>
+ <!--<dd><code title="attr-command-default">default</code></dd>-->
<dd>Also, the <code title="attr-command-title">title</code> attribute has special semantics on this element.</dd>
<dt>DOM interface:</dt>
<dd>
@@ -43509,8 +43509,8 @@
attribute DOMString <span title="dom-command-icon">icon</span>;
attribute boolean <span title="dom-command-disabled">disabled</span>;
attribute boolean <span title="dom-command-checked">checked</span>;
- attribute DOMString <span title="dom-command-radiogroup">radiogroup</span>;
- attribute boolean <span title="dom-command-default">default</span>;
+ attribute DOMString <span title="dom-command-radiogroup">radiogroup</span>;<!--
+ attribute boolean <span title="dom-command-default">default</span>;-->
void <span title="dom-command-click">click</span>(); // shadows <code>HTMLElement</code>.<code title="dom-click">click()</code>
};</pre>
</dd>
@@ -43608,6 +43608,7 @@
title="attr-command-type">type</code> attribute is in the <span
title="attr-command-type-state-radio">Radio</span> state.</p>
+<!--
<p>If the <code>command</code> element is used when <span
title="menu generation">generating</span> a <span>context
menu</span>, then the <dfn
@@ -43623,12 +43624,13 @@
<div class="example">
- <p class="XXX">Need an example that shows an element that, if
- double-clicked, invokes an action, but that also has a context
- menu, showing the various <code>command</code> attributes off, and
- that has a default command.</p>
+ ...an example that shows an element that, if double-clicked,
+ invokes an action, but that also has a context menu, showing the
+ various <code>command</code> attributes off, and that has a default
+ command...
</div>
+-->
<div class="impl">
@@ -43636,10 +43638,10 @@
title="dom-command-label"><code>label</code></dfn>, <dfn
title="dom-command-icon"><code>icon</code></dfn>, <dfn
title="dom-command-disabled"><code>disabled</code></dfn>, <dfn
- title="dom-command-checked"><code>checked</code></dfn>, <dfn
- title="dom-command-radiogroup"><code>radiogroup</code></dfn>, and
- <dfn title="dom-command-default"><code>default</code></dfn> DOM
- attributes must <span>reflect</span> the respective content
+ title="dom-command-checked"><code>checked</code></dfn>, and <dfn
+ title="dom-command-radiogroup"><code>radiogroup</code></dfn><!--,
+ and <dfn title="dom-command-default"><code>default</code></dfn>-->
+ DOM attributes must <span>reflect</span> the respective content
attributes of the same name.</p>
<p>The <dfn title="dom-command-click"><code>click()</code></dfn>
@@ -44138,10 +44140,10 @@
<dd>Append the command to the menu, respecting its <span
title="concept-facet">facets</span><!-- XXX be explicit about what
- this means for each facet -->. If the element is a
+ this means for each facet -->. <!--If the element is a
<code>command</code> element with a <code
title="attr-command-default">default</code> attribute, mark the
- command as being a default command.</dd> <!-- XXX if there's an
+ command as being a default command.--></dd> <!-- XXX if there's an
Icon facet for the command, it should be <span
title="fetch">fetched</span>, and then that image should be
associated with the command, such that each command only has its
@@ -45354,10 +45356,10 @@
title="attr-input-type-submit">Submit Button</span> or <span
title="attr-input-type-image">Image Button</span> state, and that
are their form's <span>default button</span></li>
-
+<!--
<li><code>command</code> elements that have a <code
title="attr-command-default">default</code> attribute</li>
-
+-->
</ul>
</dd>
More information about the Commit-Watchers
mailing list