- From: poot <cvsmail@w3.org>
- Date: Wed, 6 Oct 2010 06:48:39 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: mention what <command> can be used for (whatwg r5582)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4460&r2=1.4461&f=h
http://html5.org/tools/web-apps-tracker?from=5581&to=5582
===================================================================
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:49:08 UTC