- From: poot <cvsmail@w3.org>
- Date: Tue, 22 Jul 2008 03:06:25 +0900 (JST)
- To: public-html-diffs@w3.org
oops, didn't define the menu DOM attributes (whatwg r1892) (changed by: Ian Hickson) Diffs for this change per section: HTMLAnchorElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#htmlanchorelement 4.11.5.1. Using the a element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#using click() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#click 4.11.5.4. Using the option element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#using2 radiogroup http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#radiogroup0 4.11.5.2. Using the button element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#using0 Command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#command2 area http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#area menu http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#menu alternate http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#alternate id http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#id2 4.11.4.1. Introduction http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#menus-intro ID http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#id1 autosubmit http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#autosubmit0 type http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#type18 default http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#default2 Type http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#type17 type http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#type16 4.11.5.5. Using the command element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#using3 label http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#label2 Label http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#label3 label http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#label4 autosubmit http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#autosubmit 4.11.5.3. Using the input element to define a command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#using1 anonymous command http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#anonymous HTMLMenuElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#htmlmenuelement a http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#a Commands are defined to have the following facets: http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#facets hreflang http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#hreflang3 commandType http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#commandtype coords http://people.w3.org/mike/diffs/html5/spec/Overview.1.1081.html#coords Current content per affected section: http://dev.w3.org/html5/spec/Overview.html#htmlanchorelement http://dev.w3.org/html5/spec/Overview.html#using http://dev.w3.org/html5/spec/Overview.html#click http://dev.w3.org/html5/spec/Overview.html#using2 http://dev.w3.org/html5/spec/Overview.html#radiogroup0 http://dev.w3.org/html5/spec/Overview.html#using0 http://dev.w3.org/html5/spec/Overview.html#command2 http://dev.w3.org/html5/spec/Overview.html#area http://dev.w3.org/html5/spec/Overview.html#menu http://dev.w3.org/html5/spec/Overview.html#alternate http://dev.w3.org/html5/spec/Overview.html#id2 http://dev.w3.org/html5/spec/Overview.html#menus-intro http://dev.w3.org/html5/spec/Overview.html#id1 http://dev.w3.org/html5/spec/Overview.html#autosubmit0 http://dev.w3.org/html5/spec/Overview.html#type18 http://dev.w3.org/html5/spec/Overview.html#default2 http://dev.w3.org/html5/spec/Overview.html#type17 http://dev.w3.org/html5/spec/Overview.html#type16 http://dev.w3.org/html5/spec/Overview.html#using3 http://dev.w3.org/html5/spec/Overview.html#label2 http://dev.w3.org/html5/spec/Overview.html#label3 http://dev.w3.org/html5/spec/Overview.html#label4 http://dev.w3.org/html5/spec/Overview.html#autosubmit http://dev.w3.org/html5/spec/Overview.html#using1 http://dev.w3.org/html5/spec/Overview.html#anonymous http://dev.w3.org/html5/spec/Overview.html#htmlmenuelement http://dev.w3.org/html5/spec/Overview.html#a http://dev.w3.org/html5/spec/Overview.html#facets http://dev.w3.org/html5/spec/Overview.html#hreflang3 http://dev.w3.org/html5/spec/Overview.html#commandtype http://dev.w3.org/html5/spec/Overview.html#coords Previously published WD content per affected section: http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#htmlanchorelement http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#click http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using2 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#radiogroup0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#command2 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#area http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#menu http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#alternate http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#id2 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#menus-intro http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#id1 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#autosubmit0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#type18 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#default2 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#type17 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#type16 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using3 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#label2 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#label3 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#label4 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#autosubmit http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#using1 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#anonymous http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#htmlmenuelement http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#a http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#facets http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#hreflang3 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#commandtype http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#coords Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1080&r2=1.1081&f=h http://html5.org/tools/web-apps-tracker?from=1891&to=1892 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1080 retrieving revision 1.1081 diff -u -d -r1.1080 -r1.1081 --- Overview.html 21 Jul 2008 07:13:42 -0000 1.1080 +++ Overview.html 21 Jul 2008 18:02:54 -0000 1.1081 @@ -12267,7 +12267,7 @@ <dd><code title=attr-hyperlink-hreflang><a href="#hreflang3">hreflang</a></code> - <dd><code title=attr-hyperlink-type><a href="#type17">type</a></code> + <dd><code title=attr-hyperlink-type><a href="#type18">type</a></code> <dt>DOM interface: @@ -12303,7 +12303,7 @@ href="#rel3">rel</a></code>, <code title=attr-hyperlink-media><a href="#media12">media</a></code>, <code title=attr-hyperlink-hreflang><a href="#hreflang3">hreflang</a></code>, and <code - title=attr-hyperlink-type><a href="#type17">type</a></code> attributes + title=attr-hyperlink-type><a href="#type18">type</a></code> attributes must be omitted if the <code title=attr-hyperlink-href><a href="#href6">href</a></code> attribute is not present. @@ -12332,7 +12332,7 @@ href="#rel3">rel</a></code>, <code title=attr-hyperlink-media><a href="#media12">media</a></code>, <code title=attr-hyperlink-hreflang><a href="#hreflang3">hreflang</a></code>, and <code - title=attr-hyperlink-type><a href="#type17">type</a></code> attributes may + title=attr-hyperlink-type><a href="#type18">type</a></code> attributes may be used to indicate to the user the likely nature of the target resource before the user follows the link. @@ -22439,7 +22439,7 @@ <dd><code title=attr-hyperlink-hreflang><a href="#hreflang3">hreflang</a></code> - <dd><code title=attr-hyperlink-type><a href="#type17">type</a></code> + <dd><code title=attr-hyperlink-type><a href="#type18">type</a></code> <dt>DOM interface: @@ -22598,7 +22598,7 @@ href="#rel3">rel</a></code>, <code title=attr-hyperlink-media><a href="#media12">media</a></code>, <code title=attr-hyperlink-hreflang><a href="#hreflang3">hreflang</a></code>, and <code - title=attr-hyperlink-type><a href="#type17">type</a></code> attributes may + title=attr-hyperlink-type><a href="#type18">type</a></code> attributes may be used to indicate to the user the likely nature of the target resource before the user follows the link. @@ -22608,7 +22608,7 @@ href="#rel3">rel</a></code>, <code title=attr-hyperlink-media><a href="#media12">media</a></code>, <code title=attr-hyperlink-hreflang><a href="#hreflang3">hreflang</a></code>, and <code - title=attr-hyperlink-type><a href="#type17">type</a></code> attributes + title=attr-hyperlink-type><a href="#type18">type</a></code> attributes must be omitted if the <code title=attr-hyperlink-href><a href="#href6">href</a></code> attribute is not present. @@ -28057,8 +28057,8 @@ title=dom-command-checked><code>checked</code></dfn>, <dfn id=radiogroup0 title=dom-command-radiogroup><code>radiogroup</code></dfn>, and <dfn id=default2 title=dom-command-default><code>default</code></dfn> DOM - attributes must <a href="#reflect">reflect</a> their respective namesake - content attributes. + attributes must <a href="#reflect">reflect</a> the content attributes of + the same name. <p>The <dfn id=click title=dom-command-click><code>click()</code></dfn> method's behavior depends on the value of the <code @@ -28159,9 +28159,9 @@ <dd> <pre class=idl>interface <dfn id=htmlmenuelement>HTMLMenuElement</dfn> : <a href="#htmlelement">HTMLElement</a> { - attribute DOMString <span title=dom-menu-type>type</span>; - attribute DOMString <span title=dom-menu-label>label</span>; - attribute boolean <span title=dom-menu-autosubmit>autosubmit</span>; + attribute DOMString <a href="#type16" title=dom-menu-type>type</a>; + attribute DOMString <a href="#label2" title=dom-menu-label>label</a>; + attribute boolean <a href="#autosubmit0" title=dom-menu-autosubmit>autosubmit</a>; };</pre> </dl> @@ -28230,6 +28230,12 @@ the UA must invoke the <code title=dom-form-submit>submit()</code> method of the <code>form</code> element indicated by that DOM attribute. + <p>The <dfn id=type16 title=dom-menu-type><code>type</code></dfn>, <dfn + id=label2 title=dom-menu-label><code>label</code></dfn>, and <dfn + id=autosubmit0 title=dom-menu-autosubmit><code>autosubmit</code></dfn> DOM + attributes must <a href="#reflect">reflect</a> the content attributes of + the same name. + <h5 id=menus-intro><span class=secno>4.11.4.1. </span>Introduction</h5> <p><em>This section is non-normative.</em> @@ -28521,7 +28527,7 @@ <p id=facets>Commands are defined to have the following <em>facets</em>: <dl> - <dt><dfn id=type16 title=command-facet-Type>Type</dfn> + <dt><dfn id=type17 title=command-facet-Type>Type</dfn> <dd>The kind of command: "command", meaning it is a normal command; "radio", meaning that triggering the command will, amongst other things, @@ -28537,7 +28543,7 @@ or from script. If a command has no ID, it is an <dfn id=anonymous>anonymous command</dfn>. - <dt><dfn id=label2 title=command-facet-Label>Label</dfn> + <dt><dfn id=label3 title=command-facet-Label>Label</dfn> <dd>The name of the command as seen by the user. @@ -28600,7 +28606,7 @@ --> readonly attribute DOMString <a href="#commandtype" title=dom-command-ro-commandType>commandType</a>; readonly attribute DOMString <a href="#id2" title=dom-command-ro-id>id</a>; - readonly attribute DOMString <a href="#label3" title=dom-command-ro-label>label</a>; + readonly attribute DOMString <a href="#label4" title=dom-command-ro-label>label</a>; readonly attribute DOMString <a href="#title7" title=dom-command-ro-title>title</a>; readonly attribute DOMString <a href="#icon2" title=dom-command-ro-icon>icon</a>; readonly attribute boolean <a href="#hidden2" title=dom-command-ro-hidden>hidden</a>; @@ -28626,7 +28632,7 @@ title=dom-command-ro-commandType><code>commandType</code></dfn> attribute must return a string whose value is either "<code title="">command</code>", "<code title="">radio</code>", or "<code - title="">checked</code>", depending on whether the <a href="#type16" + title="">checked</code>", depending on whether the <a href="#type17" title=command-facet-Type>Type</a> of the command defined by the element is "command", "radio", or "checked" respectively. If the element does not define a command, it must return null. @@ -28638,10 +28644,10 @@ by the <code title=dom-id><a href="#id0">id</a></code> DOM attribute on the <code><a href="#htmlelement">HTMLElement</a></code> interface. - <p>The <dfn id=label3 title=dom-command-ro-label><code>label</code></dfn> - attribute must return the command's <a href="#label2" + <p>The <dfn id=label4 title=dom-command-ro-label><code>label</code></dfn> + attribute must return the command's <a href="#label3" title=command-facet-Label>Label</a>, or null if the element does not - define a command or does not specify a <a href="#label2" + define a command or does not specify a <a href="#label3" title=command-facet-Label>Label</a>. This attribute will be shadowed by the <code title="">label</code> DOM attribute on <code>option</code> and <code><a href="#command0">command</a></code> elements. @@ -28731,7 +28737,7 @@ title=attr-hyperlink-href><a href="#href6">href</a></code> attribute <a href="#command1" title=concept-command>defines a command</a>. - <p>The <a href="#type16" title=command-facet-Type>Type</a> of the command + <p>The <a href="#type17" 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 @@ -28739,7 +28745,7 @@ 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="#label2" title=command-facet-Label>Label</a> of the command + <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. @@ -28776,8 +28782,8 @@ <p>A <code>button</code> element always <a href="#command1" title=concept-command>defines a command</a>. - <p>The <a href="#type16" title=command-facet-Type>Type</a>, <a href="#id1" - title=command-facet-ID>ID</a>, <a href="#label2" + <p>The <a href="#type17" title=command-facet-Type>Type</a>, <a href="#id1" + title=command-facet-ID>ID</a>, <a href="#label3" title=command-facet-Label>Label</a>, <a href="#hint" title=command-facet-Hint>Hint</a>, <a href="#icon1" title=command-facet-Icon>Icon</a>, <a href="#hidden1" @@ -28806,7 +28812,7 @@ <code>add</code>, and <code>remove</code> <a href="#command1" title=concept-command>defines a command</a>. - <p>The <a href="#type16" title=command-facet-Type>Type</a> of the command + <p>The <a href="#type17" title=command-facet-Type>Type</a> of the command is "radio" if the <code title=attr-input-type>type</code> attribute has the value <code>radio</code>, "checkbox" if the <code>type</code> attribute has the value <code>checkbox</code>, and "command" otherwise. @@ -28816,24 +28822,24 @@ 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="#label2" title=command-facet-Label>Label</a> of the command + <p>The <a href="#label3" title=command-facet-Label>Label</a> of the command depends on the Type of the command: - <p>If the <a href="#type16" title=command-facet-Type>Type</a> is "command", + <p>If the <a href="#type17" title=command-facet-Type>Type</a> is "command", then it is the string given by the <code title=attr-input-value>value</code> attribute, if any, and a <span>UA-dependent value</span><!-- XXX xref--> that the UA uses to label the button itself if the attribute is absent. - <p>Otherwise, the <a href="#type16" title=command-facet-Type>Type</a> is + <p>Otherwise, the <a href="#type17" title=command-facet-Type>Type</a> is "radio" or "checkbox". If the element has a <code>label</code> element associated with it, the <code><a href="#textcontent">textContent</a></code> of the first such element is - the <a href="#label2" title=command-facet-Label>Label</a> (in DOM terms, + the <a href="#label3" title=command-facet-Label>Label</a> (in DOM terms, this the string given by <code><var title="">element</var>.labels[0].textContent</code>). Otherwise, the value - of the <code>value</code> attribute, if present, is the <a href="#label2" - title=command-facet-Label>Label</a>. Otherwise, the <a href="#label2" + of the <code>value</code> attribute, if present, is the <a href="#label3" + title=command-facet-Label>Label</a>. Otherwise, the <a href="#label3" title=command-facet-Label>Label</a> is the empty string. <p>The <a href="#hint" title=command-facet-Hint>Hint</a> of the command is @@ -28856,7 +28862,7 @@ <code>move-up</code> input type is disabled when it would have no effect). <p>The <a href="#checked2" title=command-facet-CheckedState>Checked - State</a> of the command is true if the command is of <a href="#type16" + State</a> of the command is true if the command is of <a href="#type17" title=command-facet-Type>Type</a> "radio" or "checkbox" and the element has a <code title=attr-input-checked>checked</code> attribute, and false otherwise. @@ -28878,7 +28884,7 @@ empty string <a href="#command1" title=concept-command>defines a command</a>. - <p>The <a href="#type16" title=command-facet-Type>Type</a> of the command + <p>The <a href="#type17" title=command-facet-Type>Type</a> of the command is "radio" if the <code>option</code>'s nearest ancestor <code>select</code> element has no <code title=attr-select-multiple>multiple</code> attribute, and "checkbox" if it @@ -28889,7 +28895,7 @@ 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="#label2" title=command-facet-Label>Label</a> of the command + <p>The <a href="#label3" title=command-facet-Label>Label</a> of the command is the value of the <code>option</code> element's <code title=attr-option-label>label</code> attribute, if there is one, or the value of the <code>option</code> element's <code><a @@ -28916,8 +28922,8 @@ otherwise. <p>The <a href="#action" title=command-facet-Action>Action</a> of the - command depends on its <a href="#type16" - title=command-facet-Type>Type</a>. If the command is of <a href="#type16" + command depends on its <a href="#type17" + title=command-facet-Type>Type</a>. If the command is of <a href="#type17" title=command-facet-Type>Type</a> "radio" then this must set the <code title=dom-option-selected>selected</code> DOM attribute of the <code>option</code> element to true, otherwise it must toggle the state of @@ -28935,7 +28941,7 @@ <p>A <code><a href="#command0">command</a></code> element <a href="#command1" title=concept-command>defines a command</a>. - <p>The <a href="#type16" title=command-facet-Type>Type</a> of the command + <p>The <a href="#type17" title=command-facet-Type>Type</a> of the command is "radio" if the <code><a href="#command0">command</a></code>'s <code title=attr-command-type><a href="#type13">type</a></code> attribute is "<code>radio</code>", "checkbox" if the attribute's value is @@ -28946,7 +28952,7 @@ 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="#label2" title=command-facet-Label>Label</a> of the command + <p>The <a href="#label3" title=command-facet-Label>Label</a> of the command is the value of the element's <code title=attr-command-label><a href="#label">label</a></code> attribute, if there is one, or the empty string if it doesn't. @@ -36557,12 +36563,12 @@ must use only language information associated with the resource to determine its language, not metadata included in the link to the resource. - <p>The <dfn id=type17 title=attr-hyperlink-type><code>type</code></dfn> + <p>The <dfn id=type18 title=attr-hyperlink-type><code>type</code></dfn> attribute, if present, gives the MIME type of the linked resource. It is purely advisory. The value must be a valid MIME type, optionally with parameters. <a href="#references">[RFC2046]</a> User agents must not consider the <code title=attr-hyperlink-type><a - href="#type17">type</a></code> attribute authoritative — upon + href="#type18">type</a></code> attribute authoritative — upon fetching the resource, user agents must not use metadata included in the link to the resource to determine its type. @@ -37080,7 +37086,7 @@ <p>The nature of the referenced document is given by the <code title=attr-hyperlink-media><a href="#media12">media</a></code>, <code title=attr-hyperlink-hreflang><a href="#hreflang3">hreflang</a></code>, - and <code title=attr-hyperlink-type><a href="#type17">type</a></code> + and <code title=attr-hyperlink-type><a href="#type18">type</a></code> attributes. <p>If the <code title=rel-alternate><a @@ -37098,14 +37104,14 @@ <p>If the <code title=rel-alternate><a href="#alternate">alternate</a></code> keyword is used with the <code - title=attr-hyperlink-type><a href="#type17">type</a></code> attribute, it + title=attr-hyperlink-type><a href="#type18">type</a></code> attribute, it indicates that the referenced document is a reformulation of the current document in the specified format. <p>The <code title=attr-hyperlink-media><a href="#media12">media</a></code>, <code title=attr-hyperlink-hreflang><a href="#hreflang3">hreflang</a></code>, and <code - title=attr-hyperlink-type><a href="#type17">type</a></code> attributes can + title=attr-hyperlink-type><a href="#type18">type</a></code> attributes can be combined when specified with the <code title=rel-alternate><a href="#alternate">alternate</a></code> keyword. @@ -37118,7 +37124,7 @@ <p>If the <code title=rel-alternate><a href="#alternate">alternate</a></code> keyword is used with the <code - title=attr-hyperlink-type><a href="#type17">type</a></code> attribute set + title=attr-hyperlink-type><a href="#type18">type</a></code> attribute set to the value <code title="">application/rss+xml</code> or the value <code title="">application/atom+xml</code>, then the user agent must treat the link as it would if it had the <code title=rel-feed><a
Received on Monday, 21 July 2008 18:07:04 UTC