HTML Standard Tracker


File a bug

SVNBugCommentTime (UTC)
2019Remove autosubmit='' from the <menu> element.2008-08-05 21:51
@@ -26503,27 +26503,25 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
    <dd>If there is a <code>menu</code> element ancestor: <span>phrasing content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>flow content</span> is expected.</dd>
    <dd>If there is a <code>menu</code> element ancestor: where <span>phrasing content</span> is expected.</dd>
    <dt>Content model:</dt>
    <dd>Either: Zero or more <code>li</code> elements.</dd>
    <dd>Or: <span>Phrasing content</span>.</dd>
    <dt>Element-specific attributes:</dt>
    <dd><code title="attr-menu-type">type</code></dd>
    <dd><code title="attr-menu-label">label</code></dd>
-   <dd><code title="attr-menu-autosubmit">autosubmit</code></dd>
    <dt>DOM interface:</dt>
 <pre class="idl">interface <dfn>HTMLMenuElement</dfn> : <span>HTMLElement</span> {
            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>;
   <p>The <code>menu</code> element represents a list of commands.</p>
   <p>The <dfn title="attr-menu-type"><code>type</code></dfn> attribute
   is an <span>enumerated attribute</span> indicating the kind of menu
   being declared. The attribute has three states. The <code
   title="attr-menu-type-context">context</code> keyword maps to the
   <dfn title="context menu state">context menu</dfn> state, in which
@@ -26558,44 +26556,22 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
   <code>li</code> element children, <span>flow content</span>
   describing available commands.</p>
   <p>The <dfn title="attr-menu-label"><code>label</code></dfn>
   attribute gives the label of the menu. It is used by user agents to
   display nested menus in the UI. For example, a context menu
   containing another menu would use the nested menu's <code
   title="attr-menu-label">label</code> attribute for the submenu's
   menu label.</p>
-  <p>The <dfn
-  title="attr-menu-autosubmit"><code>autosubmit</code></dfn> attribute
-  is a <span>boolean attribute</span> that, if present, indicates that
-  selections made to form controls in this menu are to result in the
-  control's form being immediately submitted.</p>
-  <p>If a <code title="event-change">change</code> event bubbles
-  through a <code>menu</code> element, then, in addition to any other
-  default action that that event might have, the UA must act as if the
-  following was an additional default action for that event: if (when
-  it comes time to execute the default action) the <code>menu</code>
-  element has an <code title="attr-menu-autosubmit">autosubmit</code>
-  attribute, and the target of the event is an <code>input</code>
-  element, and that element has a <code
-  title="attr-input-type">type</code> attribute whose value is either
-  <code title="">radio</code> or <code title="">checkbox</code>, and
-  the <code>input</code> element in question has a non-null <code
-  title="dom-input-form">form</code> DOM attribute, then 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>
-  <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
+  <p>The <dfn title="dom-menu-type"><code>type</code></dfn> and <dfn
+  title="dom-menu-label"><code>label</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>
   <p class="big-issue">...</p>
@@ -26651,38 +26627,38 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
     &lt;option value=""&gt; Apple &lt;/option&gt;
     &lt;option value=""&gt; Mozilla &lt;/option&gt;
     &lt;option value=""&gt; Opera &lt;/option&gt;
    &lt;span&gt;&lt;input type="submit" value="Go"&gt;&lt;/span&gt;
 <form ...>
- <menu type="toolbar" autosubmit>
+ <menu type="toolbar">
    <select name="foo" onchange="form.submit()">
    <select name="bar" onchange="form.submit()">
 <form ...>
- <menu type="toolbar" autosubmit>
+ <menu type="toolbar">
   <menu label="Foo">
    <select name="foo" onchange="form.submit()">
   <menu label="Bar">
    <select name="bar" onchange="form.submit()">