[html5] r1892 - [e] (0) oops, didn't define the menu DOM attributes

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 21 11:02:49 PDT 2008


Author: ianh
Date: 2008-07-21 11:02:48 -0700 (Mon, 21 Jul 2008)
New Revision: 1892

Modified:
   index
   source
Log:
[e] (0) oops, didn't define the menu DOM attributes

Modified: index
===================================================================
--- index	2008-07-21 07:13:35 UTC (rev 1891)
+++ index	2008-07-21 18:02:48 UTC (rev 1892)
@@ -12197,7 +12197,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:
 
@@ -12233,7 +12233,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.
 
@@ -12262,7 +12262,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.
 
@@ -22369,7 +22369,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:
 
@@ -22528,7 +22528,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.
 
@@ -22538,7 +22538,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.
 
@@ -27987,8 +27987,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
@@ -28089,9 +28089,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>
 
@@ -28160,6 +28160,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>
@@ -28451,7 +28457,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,
@@ -28467,7 +28473,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.
 
@@ -28530,7 +28536,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>;
@@ -28556,7 +28562,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.
@@ -28568,10 +28574,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.
@@ -28661,7 +28667,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
@@ -28669,7 +28675,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.
 
@@ -28706,8 +28712,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"
@@ -28736,7 +28742,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.
@@ -28746,24 +28752,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
@@ -28786,7 +28792,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.
@@ -28808,7 +28814,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
@@ -28819,7 +28825,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
@@ -28846,8 +28852,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
@@ -28865,7 +28871,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
@@ -28876,7 +28882,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.
@@ -36487,12 +36493,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="#refsRFC2046">[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.
 
@@ -37010,7 +37016,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
@@ -37028,14 +37034,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.
 
@@ -37048,7 +37054,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

Modified: source
===================================================================
--- source	2008-07-21 07:13:35 UTC (rev 1891)
+++ source	2008-07-21 18:02:48 UTC (rev 1892)
@@ -25494,8 +25494,8 @@
   title="dom-command-checked"><code>checked</code></dfn>, <dfn
   title="dom-command-radiogroup"><code>radiogroup</code></dfn>, and  <dfn
   title="dom-command-default"><code>default</code></dfn> DOM
-  attributes must <span>reflect</span> their respective namesake
-  content attributes.</p>
+  attributes must <span>reflect</span> the
+  content attributes of the same name.</p>
 
   <p>The <dfn title="dom-command-click"><code>click()</code></dfn>
   method's behavior depends on the value of the <code
@@ -25649,8 +25649,14 @@
   invoke the <code title="dom-form-submit">submit()</code> method of
   the <code>form</code> element indicated by that DOM attribute.</p>
 
+  <p>The <dfn title="dom-menu-type"><code>type</code></dfn>, <dfn
+  title="dom-menu-label"><code>label</code></dfn>, and <dfn
+  title="dom-menu-autosubmit"><code>autosubmit</code></dfn> DOM
+  attributes must <span>reflect</span> the
+  content attributes of the same name.</p>
 
 
+
   <h5 id="menus-intro">Introduction</h5>
 
   <p><em>This section is non-normative.</em></p>




More information about the Commit-Watchers mailing list