Short URL: http://html5.org/r/2019
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 2019 | Remove autosubmit='' from the <menu> element. | 2008-08-05 21:51 |
Index: source
===================================================================
--- source (revision 2018)
+++ source (revision 2019)
@@ -26510,13 +26510,11 @@
<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>
<dd>
<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>;
};</pre>
</dl>
@@ -26565,30 +26563,8 @@
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>
@@ -26658,7 +26634,7 @@
</form></pre>
<form ...>
- <menu type="toolbar" autosubmit>
+ <menu type="toolbar">
<li>
<select name="foo" onchange="form.submit()">
...
@@ -26675,7 +26651,7 @@
</form>
<form ...>
- <menu type="toolbar" autosubmit>
+ <menu type="toolbar">
<menu label="Foo">
<select name="foo" onchange="form.submit()">
...