Skip to content
Permalink
Browse files
[] (0) Remove autosubmit='' from the <menu> element.
git-svn-id: http://svn.whatwg.org/webapps@2019 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 5, 2008
1 parent 4e65ed4 commit 9d1d348365437e8aae1ac60bc82442fa828f728d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 60 deletions.
38 index
@@ -29308,17 +29308,13 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>

<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>
<pre
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,32 +29362,10 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
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>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.
<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.

<h5 id=menus-intro><span class=secno>4.11.5.1. </span>Introduction</h5>

@@ -29456,7 +29430,7 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
&lt;/form&gt;</pre>

<form ...>
<menu type="toolbar" autosubmit>
<menu type="toolbar">
<li>
<select name="foo" onchange="form.submit()">
...
@@ -29473,7 +29447,7 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
</form>

<form ...>
<menu type="toolbar" autosubmit>
<menu type="toolbar">
<menu label="Foo">
<select name="foo" onchange="form.submit()">
...
32 source
@@ -26510,13 +26510,11 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
<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 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
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 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
&lt;/form&gt;</pre>

<form ...>
<menu type="toolbar" autosubmit>
<menu type="toolbar">
<li>
<select name="foo" onchange="form.submit()">
...
@@ -26675,7 +26651,7 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
</form>

<form ...>
<menu type="toolbar" autosubmit>
<menu type="toolbar">
<menu label="Foo">
<select name="foo" onchange="form.submit()">
...

0 comments on commit 9d1d348

Please sign in to comment.