W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2009

html5/spec Overview.html,1.2225,1.2226

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 03 May 2009 08:00:07 +0000
To: public-html-commits@w3.org
Message-Id: <E1M0WcK-0004Qm-1s@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv16993

Modified Files:
	Overview.html 
Log Message:
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. (whatwg r3067)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2225
retrieving revision 1.2226
diff -u -d -r1.2225 -r1.2226
--- Overview.html	3 May 2009 05:37:47 -0000	1.2225
+++ Overview.html	3 May 2009 08:00:03 -0000	1.2226
@@ -34450,7 +34450,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>
@@ -34460,8 +34460,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>
@@ -34517,26 +34517,33 @@
   state.<p>The <dfn id="attr-command-radiogroup" title="attr-command-radiogroup"><code>radiogroup</code></dfn>
   attribute gives the name of the group of commands that will be
   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>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
+  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>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>
-  state.<div class="example">
+  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>
 
-   <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>
+  <div class="example">
 
-  </div><div class="impl">
+   ...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>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
+  </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>, 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>
@@ -34904,9 +34911,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
@@ -35853,9 +35861,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>
 
 
Received on Sunday, 3 May 2009 08:00:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 3 May 2009 08:00:19 GMT