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

html5/spec Overview.html,1.1080,1.1081

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 21 Jul 2008 18:02:57 +0000
To: public-html-commits@w3.org
Message-Id: <E1KKzir-00011N-81@lionel-hutz.w3.org>

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

Modified Files:
	Overview.html 
Log Message:
oops, didn't define the menu DOM attributes (whatwg r1892)

Index: Overview.html
===================================================================
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 &mdash; upon
+   href="#type18">type</a></code> attribute authoritative &mdash; 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:03:32 GMT

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