W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2010

html5/spec Overview.html,1.4460,1.4461

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 05 Oct 2010 21:48:24 +0000
To: public-html-commits@w3.org
Message-Id: <E1P3FN2-0006p6-Ip@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv26211

Modified Files:
	Overview.html 
Log Message:
mention what <command> can be used for (whatwg r5582)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4460
retrieving revision 1.4461
diff -u -d -r1.4460 -r1.4461
--- Overview.html	5 Oct 2010 17:04:25 -0000	1.4460
+++ Overview.html	5 Oct 2010 21:48:20 -0000	1.4461
@@ -38710,7 +38710,11 @@
 };</pre>
    </dd>
   </dl><p>The <code><a href="#the-command">command</a></code> element represents a command that the user
-  can invoke.<p>The <dfn id="attr-command-type" title="attr-command-type"><code>type</code></dfn>
+  can invoke.<p>A command can be part of a context menu or toolbar, using the
+  <code><a href="#menus">menu</a></code> element, or can be put anywhere else in the page,
+  to define a keyboard shortcut.</p><!-- in the future we'll also add
+  a command="" attribute to refer to a command, which can then be
+  defined anywhere --><p>The <dfn id="attr-command-type" title="attr-command-type"><code>type</code></dfn>
   attribute indicates the kind of command: either a normal command
   with an associated action, or a state or option that can be toggled,
   or a selection of one item from a list of items.<p>The attribute is an <a href="#enumerated-attribute">enumerated attribute</a> with three
Received on Tuesday, 5 October 2010 21:48:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 October 2010 21:48:30 GMT