- From: poot <cvsmail@w3.org>
- Date: Tue, 22 Jul 2008 11:42:50 +0900 (JST)
- To: public-html-diffs@w3.org
Make <bb> define a command. (whatwg r1899) (changed by: Ian Hickson) Diffs for this change per section: 8.2.5.9. The "after head" insertion mode http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#the-after 8.2.5.23. The "after after body" insertion mode http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#the-after0 commands http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#commands0 8.2.3.1. The insertion mode http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#the-insertion in cell http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-cell using the rules for http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#using10 in frameset http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-frameset in table http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-table after body http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#after5 in row http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-row 4.11.6.4. Using the option element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#using2 4.11.6.5. Using the command element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#using3 4.11.6.2. Using the button element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#using0 4.11.6.3. Using the input element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#using1 8.2.5.6. The "before head" insertion mode http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#the-before0 in head noscript http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-head0 in body http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-body Using the option element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#using8 in head http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-head in caption http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-caption in column group http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-column 4.12.1 Introduction http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#introduction0 8.2.5.24. The "after after frameset" insertion mode http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#the-after1 in select in table http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-select0 in foreign content http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-foreign 4.11.6.1. Using the a element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#using after frameset http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#after6 4.12 Data Templates http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#datatemplate in table body http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-table0 4.11.6.6. Using the bb element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#using4 in select http://people.w3.org/mike/diffs/html5/spec/Overview.1.1088.html#in-select Current content per affected section: http://dev.w3.org/html5/spec/Overview.html#the-after http://dev.w3.org/html5/spec/Overview.html#the-after0 http://dev.w3.org/html5/spec/Overview.html#commands0 http://dev.w3.org/html5/spec/Overview.html#the-insertion http://dev.w3.org/html5/spec/Overview.html#in-cell http://dev.w3.org/html5/spec/Overview.html#using10 http://dev.w3.org/html5/spec/Overview.html#in-frameset http://dev.w3.org/html5/spec/Overview.html#in-table http://dev.w3.org/html5/spec/Overview.html#after5 http://dev.w3.org/html5/spec/Overview.html#in-row http://dev.w3.org/html5/spec/Overview.html#using2 http://dev.w3.org/html5/spec/Overview.html#using3 http://dev.w3.org/html5/spec/Overview.html#using0 http://dev.w3.org/html5/spec/Overview.html#using1 http://dev.w3.org/html5/spec/Overview.html#the-before0 http://dev.w3.org/html5/spec/Overview.html#in-head0 http://dev.w3.org/html5/spec/Overview.html#in-body http://dev.w3.org/html5/spec/Overview.html#using8 http://dev.w3.org/html5/spec/Overview.html#in-head http://dev.w3.org/html5/spec/Overview.html#in-caption http://dev.w3.org/html5/spec/Overview.html#in-column http://dev.w3.org/html5/spec/Overview.html#introduction0 http://dev.w3.org/html5/spec/Overview.html#the-after1 http://dev.w3.org/html5/spec/Overview.html#in-select0 http://dev.w3.org/html5/spec/Overview.html#in-foreign http://dev.w3.org/html5/spec/Overview.html#using http://dev.w3.org/html5/spec/Overview.html#after6 http://dev.w3.org/html5/spec/Overview.html#datatemplate http://dev.w3.org/html5/spec/Overview.html#in-table0 http://dev.w3.org/html5/spec/Overview.html#using4 http://dev.w3.org/html5/spec/Overview.html#in-select Previously published WD content per affected section: http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#the-after http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#the-after0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#commands0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#the-insertion http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-cell http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using10 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-frameset http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-table http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#after5 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-row http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using2 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using3 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using1 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#the-before0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-head0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-body http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using8 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-head http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-caption http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-column http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#introduction0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#the-after1 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-select0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-foreign http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#after6 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#datatemplate http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-table0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using4 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#in-select Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1087&r2=1.1088&f=h http://html5.org/tools/web-apps-tracker?from=1898&to=1899 =================================================================== 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:43:39 UTC