[html5] r2019 - [] (0) Remove autosubmit='' from the <menu> element.

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 5 14:51:28 PDT 2008


Author: ianh
Date: 2008-08-05 14:51:27 -0700 (Tue, 05 Aug 2008)
New Revision: 2019

Modified:
   index
   source
Log:
[] (0) Remove autosubmit='' from the <menu> element.

Modified: index
===================================================================
--- index	2008-08-05 21:17:18 UTC (rev 2018)
+++ index	2008-08-05 21:51:27 UTC (rev 2019)
@@ -29308,9 +29308,6 @@
 
    <dd><code title=attr-menu-label><a href="#label1">label</a></code>
 
-   <dd><code title=attr-menu-autosubmit><a
-    href="#autosubmit">autosubmit</a></code>
-
    <dt>DOM interface:
 
    <dd>
@@ -29318,7 +29315,6 @@
      class=idl>interface <dfn id=htmlmenuelement>HTMLMenuElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
            attribute DOMString <a href="#type18" 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>
 
@@ -29366,33 +29362,11 @@
    another menu would use the nested menu's <code title=attr-menu-label><a
    href="#label1">label</a></code> attribute for the submenu's menu label.
 
-  <p>The <dfn id=autosubmit
-   title=attr-menu-autosubmit><code>autosubmit</code></dfn> attribute is a <a
-   href="#boolean0">boolean attribute</a> 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>The <dfn id=type18 title=dom-menu-type><code>type</code></dfn> and <dfn
+   id=label2 title=dom-menu-label><code>label</code></dfn> DOM attributes
+   must <a href="#reflect">reflect</a> the content attributes of the same
+   name.
 
-  <p>If a <code title=event-change>change</code> event bubbles through a
-   <code><a href="#menu">menu</a></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><a
-   href="#menu">menu</a></code> element has an <code
-   title=attr-menu-autosubmit><a href="#autosubmit">autosubmit</a></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>The <dfn id=type18 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.5.1. </span>Introduction</h5>
 
   <p><em>This section is non-normative.</em>
@@ -29456,7 +29430,7 @@
 </form></pre>
 
 <form ...>
- <menu type="toolbar" autosubmit>
+ <menu type="toolbar">
   <li>
    <select name="foo" onchange="form.submit()">
      ...
@@ -29473,7 +29447,7 @@
 </form>
 
 <form ...>
- <menu type="toolbar" autosubmit>
+ <menu type="toolbar">
   <menu label="Foo">
    <select name="foo" onchange="form.submit()">
      ...

Modified: source
===================================================================
--- source	2008-08-05 21:17:18 UTC (rev 2018)
+++ source	2008-08-05 21:51:27 UTC (rev 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()">
      ...




More information about the Commit-Watchers mailing list