W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2008

html5/spec Overview.html,1.1087,1.1088

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 22 Jul 2008 02:39:38 +0000
To: public-html-commits@w3.org
Message-Id: <E1KL7ms-0007Bj-C2@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv27603

Modified Files:
	Overview.html 
Log Message:
Make <bb> define a command. (whatwg r1899)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1087
retrieving revision 1.1088
diff -u -d -r1.1087 -r1.1088
--- Overview.html	22 Jul 2008 02:25:59 -0000	1.1087
+++ Overview.html	22 Jul 2008 02:39:35 -0000	1.1088
@@ -1090,6 +1090,9 @@
 
          <li><a href="#using3"><span class=secno>4.11.6.5. </span>Using the
           <code>command</code> element to define a command</a>
+
+         <li><a href="#using4"><span class=secno>4.11.6.6. </span>Using the
+          <code>bb</code> element to define a command</a>
         </ul>
       </ul>
 
@@ -28932,13 +28935,13 @@
    elements that define commands and have IDs.
 
   <p>The following elements can define commands: <code title=a-command><a
-   href="#using4">a</a></code>, <code title=button-command><a
-   href="#using5">button</a></code>, <code title=input-command><a
-   href="#using6">input</a></code>, <code title=option-command><a
-   href="#using7">option</a></code>, <code title=command-element><a
+   href="#using5">a</a></code>, <code title=button-command><a
+   href="#using6">button</a></code>, <code title=input-command><a
+   href="#using7">input</a></code>, <code title=option-command><a
+   href="#using8">option</a></code>, <code title=command-element><a
    href="#command3">command</a></code>.
 
-  <h5 id=using><span class=secno>4.11.6.1. </span><dfn id=using4
+  <h5 id=using><span class=secno>4.11.6.1. </span><dfn id=using5
    title=a-command>Using the <code>a</code> element to define a command</dfn></h5>
 
   <p>An <code><a href="#a">a</a></code> element with an <code
@@ -28983,7 +28986,7 @@
    command is to <a href="#firing" title="fire a click event">fire a <code
    title="">click</code> event</a> at the element.
 
-  <h5 id=using0><span class=secno>4.11.6.2. </span><dfn id=using5
+  <h5 id=using0><span class=secno>4.11.6.2. </span><dfn id=using6
    title=button-command>Using the <code>button</code> element to define a
    command</dfn></h5>
 
@@ -28998,7 +29001,7 @@
    title=command-facet-HiddenState>Hidden State</a>, <a href="#checked2"
    title=command-facet-CheckedState>Checked State</a>, and <a href="#action"
    title=command-facet-Action>Action</a> facets of the command are determined
-   <a href="#using4" title=a-command>as for <code>a</code> elements</a> (see
+   <a href="#using5" title=a-command>as for <code>a</code> elements</a> (see
    the previous section).
 
   <p>The <a href="#disabled7" title=command-facet-DisabledState>Disabled
@@ -29009,7 +29012,7 @@
    <code>move-up</code> button type is disabled when it would have no
    effect).
 
-  <h5 id=using1><span class=secno>4.11.6.3. </span><dfn id=using6
+  <h5 id=using1><span class=secno>4.11.6.3. </span><dfn id=using7
    title=input-command>Using the <code>input</code> element to define a
    command</dfn></h5>
 
@@ -29082,7 +29085,7 @@
   is probably wrong for radio and checkbox types, depending on how we
   define <input>. -->
 
-  <h5 id=using2><span class=secno>4.11.6.4. </span><dfn id=using7
+  <h5 id=using2><span class=secno>4.11.6.4. </span><dfn id=using8
    title=option-command>Using the <code>option</code> element to define a
    command</dfn></h5>
 
@@ -29202,6 +29205,66 @@
   <!-- XXX update to
   point to dom-click when we remove dom-command-click -->
 
+  <h5 id=using4><span class=secno>4.11.6.6. </span><dfn id=using9
+   title=bb-command>Using the <code>bb</code> element to define a
+   command</dfn></h5>
+
+  <p>A <code><a href="#bb">bb</a></code> element always <a href="#command1"
+   title=concept-command>defines a command</a>.
+
+  <p>The <a href="#type19" title=command-facet-Type>Type</a> of the command
+   is "command".
+
+  <p>The <a href="#id1" title=command-facet-ID>ID</a> of the command is the
+   value of the <code title=attr-id><a href="#id">id</a></code> attribute of
+   the element, if the attribute is present and not empty. Otherwise the
+   command is an <a href="#anonymous">anonymous command</a>.
+
+  <p>The <a href="#label3" title=command-facet-Label>Label</a> of the command
+   is the string given by the element's <code><a
+   href="#textcontent">textContent</a></code> DOM attribute, if that is not
+   the empty string, or a user-agent-defined string appropriate for the
+   <code><a href="#bb">bb</a></code> element's <code title=attr-bb-type><a
+   href="#type15">type</a></code> attribute's state.
+
+  <p>The <a href="#hint" title=command-facet-Hint>Hint</a> of the command is
+   the value of the <code title=attr-title><a href="#title">title</a></code>
+   attribute of the element. If the attribute is not present, the <a
+   href="#hint" title=command-facet-Hint>Hint</a> is a user-agent-defined
+   string appropriate for the <code><a href="#bb">bb</a></code> element's
+   <code title=attr-bb-type><a href="#type15">type</a></code> attribute's
+   state.
+
+  <p>The <a href="#icon1" title=command-facet-Icon>Icon</a> of the command is
+   the <a href="#absolute">absolute URL</a> obtained from <a href="#resolve"
+   title="resolve a url">resolving</a> the value of the <code
+   title=attr-img-src><a href="#src">src</a></code> attribute of the first
+   <code><a href="#img">img</a></code> element descendant of the element, if
+   there is such an element and resolving its attribute is successful.
+   Otherwise, the <a href="#icon1" title=command-facet-Icon>Icon</a> is a
+   user-agent-defined image appropriate for the <code><a
+   href="#bb">bb</a></code> element's <code title=attr-bb-type><a
+   href="#type15">type</a></code> attribute's state.
+
+  <p>The <a href="#hidden1" title=command-facet-HiddenState>Hidden State</a>
+   facet of the command is true if the <code><a href="#bb">bb</a></code>
+   element's <code title=attr-bb-type><a href="#type15">type</a></code>
+   attribute's state is not <i title=attr-bb-type-null-state><a
+   href="#null">null</a></i>.
+
+  <p>The <a href="#disabled7" title=command-facet-DisabledState>Disabled
+   State</a> facet of the command is true if the <code><a
+   href="#bb">bb</a></code> element's <code title=attr-bb-type><a
+   href="#type15">type</a></code> attribute's state's <i>relevance</i> is
+   false, and true otherwise.
+
+  <p>The <a href="#checked2" title=command-facet-CheckedState>Checked
+   State</a> of the command is always false. (The command is never checked.)
+
+  <p>The <a href="#action" title=command-facet-Action>Action</a> of the
+   command is to <a href="#firing" title="fire a click event">fire a <code
+   title="">click</code> event</a> at the element.
+
   <h3 id=datatemplate><span class=secno>4.12 </span>Data Templates</h3>
 
   <h4 id=introduction0><span class=secno>4.12.1 </span>Introduction</h4>
@@ -44832,7 +44895,7 @@
    cell">in cell</a>", and "<a href="#in-select" title="insertion mode: in
    select">in select</a>", are special, in that the other modes defer to them
    at various times. When the algorithm below says that the user agent is to
-   do something "<dfn id=using8>using the rules for</dfn> the <var
+   do something "<dfn id=using10>using the rules for</dfn> the <var
    title="">m</var> insertion mode", where <var title="">m</var> is one of
    these modes, the user agent must use the rules described under that
    <span>insertion mode</span>'s section, but must leave the <span>insertion
@@ -47916,7 +47979,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -47986,7 +48049,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -48217,7 +48280,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -48243,7 +48306,7 @@
     "style"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-head" title="insertion mode: in head">in head</a>"
      <span>insertion mode</span>.</p>
 
@@ -48297,7 +48360,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -48327,7 +48390,7 @@
      title="">head</code> element pointer</a> onto the <a href="#stack">stack
      of open elements</a>.</p>
 
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-head" title="insertion mode: in head">in head</a>"
      <span>insertion mode</span>.</p>
 
@@ -48391,7 +48454,7 @@
     "eventsource", "link", "meta", "noframes", "script", "style", "title"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-head" title="insertion mode: in head">in head</a>"
      <span>insertion mode</span>.</p>
 
@@ -49619,9 +49682,9 @@
      href="#tainted">tainted</a> then act as described in the "anything else"
      entry below.</p>
 
-    <p>Otherwise, process the token <a href="#using8">using the rules for</a>
-     the "<a href="#in-head" title="insertion mode: in head">in head</a>"
-     <span>insertion mode</span>.</p>
+    <p>Otherwise, process the token <a href="#using10">using the rules
+     for</a> the "<a href="#in-head" title="insertion mode: in head">in
+     head</a>" <span>insertion mode</span>.</p>
 
    <dt>A start tag whose tag name is "input"
 
@@ -49664,7 +49727,7 @@
 
    <dd>
     <p><a href="#parse2">Parse error</a>. Process the token <a
-     href="#using8">using the rules for</a> the "<a href="#in-body"
+     href="#using10">using the rules for</a> the "<a href="#in-body"
      title="insertion mode: in body">in body</a>" <span>insertion
      mode</span>, except that if the <a href="#current5">current node</a> is
      a <code><a href="#table">table</a></code>, <code><a
@@ -49745,7 +49808,7 @@
    <dt>Anything else
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
   </dl>
@@ -49782,7 +49845,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -49908,7 +49971,7 @@
    <dt>Anything else
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-table" title="insertion mode: in table">in table</a>"
      <span>insertion mode</span>.</p>
   </dl>
@@ -49998,7 +50061,7 @@
    <dt>Anything else
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-table" title="insertion mode: in table">in table</a>"
      <span>insertion mode</span>.</p>
   </dl>
@@ -50086,7 +50149,7 @@
    <dt>Anything else
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
   </dl>
@@ -50145,7 +50208,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -50268,7 +50331,7 @@
    <dt>Anything else
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-select" title="insertion mode: in select">in select</a>"
      <span>insertion mode</span>.</p>
   </dl>
@@ -50333,7 +50396,7 @@
    <dt>An end tag
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the <a
+    <p>Process the token <a href="#using10">using the rules for</a> the <a
      href="#secondary1">secondary insertion mode</a>.</p>
 
     <p>If, after doing so, the <span>insertion mode</span> is still "<a
@@ -50464,7 +50527,7 @@
     <!--U+000D CARRIAGE RETURN (CR),--> or U+0020 SPACE
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -50485,7 +50548,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -50546,7 +50609,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -50587,7 +50650,7 @@
    <dt>A start tag whose tag name is "noframes"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-head" title="insertion mode: in head">in head</a>"
      <span>insertion mode</span>.</p>
 
@@ -50642,7 +50705,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -50655,7 +50718,7 @@
    <dt>A start tag whose tag name is "noframes"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-head" title="insertion mode: in head">in head</a>"
      <span>insertion mode</span>.</p>
 
@@ -50699,7 +50762,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
@@ -50741,7 +50804,7 @@
    <dt>A start tag whose tag name is "html"
 
    <dd>
-    <p>Process the token <a href="#using8">using the rules for</a> the "<a
+    <p>Process the token <a href="#using10">using the rules for</a> the "<a
      href="#in-body" title="insertion mode: in body">in body</a>"
      <span>insertion mode</span>.</p>
 
Received on Tuesday, 22 July 2008 02:40:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT