Skip to content
Permalink
Browse files
[giow] (3) Add 'autocomplete' IDL attribute to HTMLSelectElement for …
…consistency.

Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@8656 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 5, 2014
1 parent 6edf6f1 commit 19b1bd4126d4b38cf44b5f01cd4f0e24094bba5d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
@@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 4 June 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 5 June 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -44871,6 +44871,7 @@ <h4 id=the-select-element><span class=secno>4.10.7 </span>The <dfn><code>select<
<dt><a href=#concept-element-dom title=concept-element-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
<dd>
<pre class=idl>interface <dfn id=htmlselectelement>HTMLSelectElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-fe-autocomplete title=dom-fe-autocomplete>autocomplete</a>;
attribute boolean <a href=#dom-fe-autofocus title=dom-fe-autofocus>autofocus</a>;
attribute boolean <a href=#dom-fe-disabled title=dom-fe-disabled>disabled</a>;
readonly attribute <a href=#htmlformelement>HTMLFormElement</a>? <a href=#dom-fae-form title=dom-fae-form>form</a>;
@@ -44888,7 +44889,7 @@ <h4 id=the-select-element><span class=secno>4.10.7 </span>The <dfn><code>select<
void <a href=#dom-select-add title=dom-select-add>add</a>((<a href=#htmloptionelement>HTMLOptionElement</a> or <a href=#htmloptgroupelement>HTMLOptGroupElement</a>) element, optional (<a href=#htmlelement>HTMLElement</a> or long)? before = null);
void <a href=#dom-select-remove title=dom-select-remove>remove</a>(); // ChildNode overload
void <a href=#dom-select-remove title=dom-select-remove>remove</a>(long index);
<a href=#dom-htmloptionscollection-setter title=dom-HTMLOptionsCollection-setter>setter creator</a> void (unsigned long index, <a href=#htmloptionelement>HTMLOptionElement</a>? option);
<a href=#dom-select-setter title=dom-select-setter>setter creator</a> void (unsigned long index, <a href=#htmloptionelement>HTMLOptionElement</a>? option);

readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-select-selectedoptions title=dom-select-selectedOptions>selectedOptions</a>;
attribute long <a href=#dom-select-selectedindex title=dom-select-selectedIndex>selectedIndex</a>;
@@ -45157,7 +45158,8 @@ <h4 id=the-select-element><span class=secno>4.10.7 </span>The <dfn><code>select<
method of the same name</a> on the <code title=dom-select-options><a href=#dom-select-options>options</a></code> collection,
when invoked with the same argument.</p>

<p>When the user agent is to <dfn id=dom-htmlselectelement-setter title=dom-HTMLSelectElement-setter>set the value of a new
<!--CLEANUP-->
<p>When the user agent is to <dfn id=dom-select-setter title=dom-select-setter>set the value of a new
indexed property</dfn> for a given property index <var title="">index</var> to a new value <var title="">value</var>, it must instead <a href=#dom-htmloptionscollection-setter title=dom-HTMLOptionsCollection-setter>set the
value of a new indexed property</a> with the given property index <var title="">index</var> to
the new value <var title="">value</var> on the <code title=dom-select-options><a href=#dom-select-options>options</a></code>
@@ -105100,6 +105102,7 @@ <h2 class=no-num id=references>References</h2><!--REFS-->
Matt Wright,
Matthew Gregan,
Matthew Mastracci,
Matthew Noorenberghe,
Matthew Raymond,
Matthew Thomas,
Mattias Waldau,
9 index
@@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 4 June 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 5 June 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -44871,6 +44871,7 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<dt><a href=#concept-element-dom title=concept-element-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
<dd>
<pre class=idl>interface <dfn id=htmlselectelement>HTMLSelectElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
attribute DOMString <a href=#dom-fe-autocomplete title=dom-fe-autocomplete>autocomplete</a>;
attribute boolean <a href=#dom-fe-autofocus title=dom-fe-autofocus>autofocus</a>;
attribute boolean <a href=#dom-fe-disabled title=dom-fe-disabled>disabled</a>;
readonly attribute <a href=#htmlformelement>HTMLFormElement</a>? <a href=#dom-fae-form title=dom-fae-form>form</a>;
@@ -44888,7 +44889,7 @@ You cannot submit this form when the field is incorrect.</samp></pre>
void <a href=#dom-select-add title=dom-select-add>add</a>((<a href=#htmloptionelement>HTMLOptionElement</a> or <a href=#htmloptgroupelement>HTMLOptGroupElement</a>) element, optional (<a href=#htmlelement>HTMLElement</a> or long)? before = null);
void <a href=#dom-select-remove title=dom-select-remove>remove</a>(); // ChildNode overload
void <a href=#dom-select-remove title=dom-select-remove>remove</a>(long index);
<a href=#dom-htmloptionscollection-setter title=dom-HTMLOptionsCollection-setter>setter creator</a> void (unsigned long index, <a href=#htmloptionelement>HTMLOptionElement</a>? option);
<a href=#dom-select-setter title=dom-select-setter>setter creator</a> void (unsigned long index, <a href=#htmloptionelement>HTMLOptionElement</a>? option);

readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-select-selectedoptions title=dom-select-selectedOptions>selectedOptions</a>;
attribute long <a href=#dom-select-selectedindex title=dom-select-selectedIndex>selectedIndex</a>;
@@ -45157,7 +45158,8 @@ You cannot submit this form when the field is incorrect.</samp></pre>
method of the same name</a> on the <code title=dom-select-options><a href=#dom-select-options>options</a></code> collection,
when invoked with the same argument.</p>

<p>When the user agent is to <dfn id=dom-htmlselectelement-setter title=dom-HTMLSelectElement-setter>set the value of a new
<!--CLEANUP-->
<p>When the user agent is to <dfn id=dom-select-setter title=dom-select-setter>set the value of a new
indexed property</dfn> for a given property index <var title="">index</var> to a new value <var title="">value</var>, it must instead <a href=#dom-htmloptionscollection-setter title=dom-HTMLOptionsCollection-setter>set the
value of a new indexed property</a> with the given property index <var title="">index</var> to
the new value <var title="">value</var> on the <code title=dom-select-options><a href=#dom-select-options>options</a></code>
@@ -105100,6 +105102,7 @@ if (s = prompt('What is your name?')) {
Matt Wright,
Matthew Gregan,
Matthew Mastracci,
Matthew Noorenberghe,
Matthew Raymond,
Matthew Thomas,
Mattias Waldau,
7 source
@@ -47944,6 +47944,7 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<dt><span data-x="concept-element-dom">DOM interface</span>:</dt><!--TOPIC:DOM APIs-->
<dd>
<pre class="idl">interface <dfn>HTMLSelectElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span data-x="dom-fe-autocomplete">autocomplete</span>;
attribute boolean <span data-x="dom-fe-autofocus">autofocus</span>;
attribute boolean <span data-x="dom-fe-disabled">disabled</span>;
readonly attribute <span>HTMLFormElement</span>? <span data-x="dom-fae-form">form</span>;
@@ -47961,7 +47962,7 @@ You cannot submit this form when the field is incorrect.</samp></pre>
void <span data-x="dom-select-add">add</span>((<span>HTMLOptionElement</span> or <span>HTMLOptGroupElement</span>) element, optional (<span>HTMLElement</span> or long)? before = null);
void <span data-x="dom-select-remove">remove</span>(); // ChildNode overload
void <span data-x="dom-select-remove">remove</span>(long index);
<span data-x="dom-HTMLOptionsCollection-setter">setter creator</span> void (unsigned long index, <span>HTMLOptionElement</span>? option);
<span data-x="dom-select-setter">setter creator</span> void (unsigned long index, <span>HTMLOptionElement</span>? option);

readonly attribute <span>HTMLCollection</span> <span data-x="dom-select-selectedOptions">selectedOptions</span>;
attribute long <span data-x="dom-select-selectedIndex">selectedIndex</span>;
@@ -48283,7 +48284,8 @@ You cannot submit this form when the field is incorrect.</samp></pre>
method of the same name</span> on the <code data-x="dom-select-options">options</code> collection,
when invoked with the same argument.</p>

<p>When the user agent is to <dfn data-x="dom-HTMLSelectElement-setter">set the value of a new
<!--CLEANUP-->
<p>When the user agent is to <dfn data-x="dom-select-setter">set the value of a new
indexed property</dfn> for a given property index <var data-x="">index</var> to a new value <var
data-x="">value</var>, it must instead <span data-x="dom-HTMLOptionsCollection-setter">set the
value of a new indexed property</span> with the given property index <var data-x="">index</var> to
@@ -116215,6 +116217,7 @@ if (s = prompt('What is your name?')) {
Matt Wright,
Matthew Gregan,
Matthew Mastracci,
Matthew Noorenberghe,
Matthew Raymond,
Matthew Thomas,
Mattias Waldau,

0 comments on commit 19b1bd4

Please sign in to comment.