Skip to content

Commit

Permalink
[e] (0) update for webidl
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@6549 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 9, 2011
1 parent e48af44 commit d163a4d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 18 deletions.
17 changes: 11 additions & 6 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -8228,7 +8228,7 @@ <h5 id=htmlallcollection-0><span class=secno>2.8.2.1 </span>HTMLAllCollection</h

<pre class=idl>interface <dfn id=htmlallcollection>HTMLAllCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
caller getter object? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
legacycaller getter object? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
<a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-htmlallcollection-tags title=dom-HTMLAllCollection-tags>tags</a>(DOMString tagName);
};</pre>

Expand Down Expand Up @@ -8310,6 +8310,11 @@ <h5 id=htmlallcollection-0><span class=secno>2.8.2.1 </span>HTMLAllCollection</h
object on which the method was invoked. In <a href=#html-documents>HTML
documents</a>, the argument must first be <a href=#converted-to-ascii-lowercase>converted to
ASCII lowercase</a>.</p>
<!--if legacycaller is removed:
<p>In addition to the above, <code>HTMLAllCollection</code> objects,
in JavaScript, must be callable. Calling such an object must
implicitly invoke the index getter with the same arguments.</p>
-->

</div>

Expand All @@ -8322,7 +8327,7 @@ <h5 id=htmlformcontrolscollection-0><span class=secno>2.8.2.2 </span>HTMLFormCon

<pre class=idl>interface <dfn id=htmlformcontrolscollection>HTMLFormControlsCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
caller getter object? <a href=#dom-htmlformcontrolscollection-nameditem title=dom-HTMLFormControlsCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
legacycaller getter object? <a href=#dom-htmlformcontrolscollection-nameditem title=dom-HTMLFormControlsCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
};

interface <dfn id=radionodelist>RadioNodeList</dfn> : <a href=#nodelist>NodeList</a> {
Expand Down Expand Up @@ -8438,7 +8443,7 @@ <h5 id=htmloptionscollection-0><span class=secno>2.8.2.3 </span>HTMLOptionsColle
<pre class=idl>interface <dfn id=htmloptionscollection>HTMLOptionsCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-item>item</span>()
attribute unsigned long <a href=#dom-htmloptionscollection-length title=dom-HTMLOptionsCollection-length>length</a>; // overrides inherited length
caller getter object? <a href=#dom-htmloptionscollection-nameditem title=dom-HTMLOptionsCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
legacycaller getter object? <a href=#dom-htmloptionscollection-nameditem title=dom-HTMLOptionsCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
<a href=#dom-htmloptionscollection-setter title=dom-HTMLOptionsCollection-setter>setter creator</a> void (unsigned long index, <a href=#htmloptionelement>HTMLOptionElement</a> option);
void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(<a href=#htmloptionelement>HTMLOptionElement</a> element, optional <a href=#htmlelement>HTMLElement</a>? before);
void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(<a href=#htmloptgroupelement>HTMLOptGroupElement</a> element, optional <a href=#htmlelement>HTMLElement</a>? before);
Expand Down Expand Up @@ -8634,7 +8639,7 @@ <h5 id=htmlpropertiescollection-0><span class=secno>2.8.2.4 </span>HTMLPropertie

<pre class=idl>interface <dfn id=htmlpropertiescollection>HTMLPropertiesCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
caller getter <a href=#propertynodelist>PropertyNodeList</a>? <a href=#dom-htmlpropertiescollection-nameditem title=dom-HTMLPropertiesCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
legacycaller getter <a href=#propertynodelist>PropertyNodeList</a>? <a href=#dom-htmlpropertiescollection-nameditem title=dom-HTMLPropertiesCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
readonly attribute <span>DOMStringList</span> <a href=#dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names>names</a>;
};

Expand Down Expand Up @@ -42154,8 +42159,8 @@ <h4 id=categories><span class=secno>4.10.2 </span>Categories</h4>

readonly attribute <a href=#htmlformcontrolscollection>HTMLFormControlsCollection</a> <a href=#dom-form-elements title=dom-form-elements>elements</a>;
readonly attribute long <a href=#dom-form-length title=dom-form-length>length</a>;
caller <a href=#dom-form-item title=dom-form-item>getter</a> <a href=#element>Element</a> (unsigned long index);
caller <a href=#dom-form-nameditem title=dom-form-namedItem>getter</a> object (DOMString name);
legacycaller <a href=#dom-form-item title=dom-form-item>getter</a> <a href=#element>Element</a> (unsigned long index);
legacycaller <a href=#dom-form-nameditem title=dom-form-namedItem>getter</a> object (DOMString name);

void <a href=#dom-form-submit title=dom-form-submit>submit</a>();
void <a href=#dom-form-reset title=dom-form-reset>reset</a>();
Expand Down
17 changes: 11 additions & 6 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -8092,7 +8092,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<pre class=idl>interface <dfn id=htmlallcollection>HTMLAllCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
caller getter object? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
legacycaller getter object? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
<a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-htmlallcollection-tags title=dom-HTMLAllCollection-tags>tags</a>(DOMString tagName);
};</pre>

Expand Down Expand Up @@ -8174,6 +8174,11 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
object on which the method was invoked. In <a href=#html-documents>HTML
documents</a>, the argument must first be <a href=#converted-to-ascii-lowercase>converted to
ASCII lowercase</a>.</p>
<!--if legacycaller is removed:
<p>In addition to the above, <code>HTMLAllCollection</code> objects,
in JavaScript, must be callable. Calling such an object must
implicitly invoke the index getter with the same arguments.</p>
-->

</div>

Expand All @@ -8186,7 +8191,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<pre class=idl>interface <dfn id=htmlformcontrolscollection>HTMLFormControlsCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
caller getter object? <a href=#dom-htmlformcontrolscollection-nameditem title=dom-HTMLFormControlsCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
legacycaller getter object? <a href=#dom-htmlformcontrolscollection-nameditem title=dom-HTMLFormControlsCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
};

interface <dfn id=radionodelist>RadioNodeList</dfn> : <a href=#nodelist>NodeList</a> {
Expand Down Expand Up @@ -8302,7 +8307,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<pre class=idl>interface <dfn id=htmloptionscollection>HTMLOptionsCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-item>item</span>()
attribute unsigned long <a href=#dom-htmloptionscollection-length title=dom-HTMLOptionsCollection-length>length</a>; // overrides inherited length
caller getter object? <a href=#dom-htmloptionscollection-nameditem title=dom-HTMLOptionsCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
legacycaller getter object? <a href=#dom-htmloptionscollection-nameditem title=dom-HTMLOptionsCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
<a href=#dom-htmloptionscollection-setter title=dom-HTMLOptionsCollection-setter>setter creator</a> void (unsigned long index, <a href=#htmloptionelement>HTMLOptionElement</a> option);
void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(<a href=#htmloptionelement>HTMLOptionElement</a> element, optional <a href=#htmlelement>HTMLElement</a>? before);
void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(<a href=#htmloptgroupelement>HTMLOptGroupElement</a> element, optional <a href=#htmlelement>HTMLElement</a>? before);
Expand Down Expand Up @@ -8498,7 +8503,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..

<pre class=idl>interface <dfn id=htmlpropertiescollection>HTMLPropertiesCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
caller getter <a href=#propertynodelist>PropertyNodeList</a>? <a href=#dom-htmlpropertiescollection-nameditem title=dom-HTMLPropertiesCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
legacycaller getter <a href=#propertynodelist>PropertyNodeList</a>? <a href=#dom-htmlpropertiescollection-nameditem title=dom-HTMLPropertiesCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
readonly attribute <span>DOMStringList</span> <a href=#dom-htmlpropertiescollection-names title=dom-HTMLPropertiesCollection-names>names</a>;
};

Expand Down Expand Up @@ -42021,8 +42026,8 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H

readonly attribute <a href=#htmlformcontrolscollection>HTMLFormControlsCollection</a> <a href=#dom-form-elements title=dom-form-elements>elements</a>;
readonly attribute long <a href=#dom-form-length title=dom-form-length>length</a>;
caller <a href=#dom-form-item title=dom-form-item>getter</a> <a href=#element>Element</a> (unsigned long index);
caller <a href=#dom-form-nameditem title=dom-form-namedItem>getter</a> object (DOMString name);
legacycaller <a href=#dom-form-item title=dom-form-item>getter</a> <a href=#element>Element</a> (unsigned long index);
legacycaller <a href=#dom-form-nameditem title=dom-form-namedItem>getter</a> object (DOMString name);

void <a href=#dom-form-submit title=dom-form-submit>submit</a>();
void <a href=#dom-form-reset title=dom-form-reset>reset</a>();
Expand Down
17 changes: 11 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -8067,7 +8067,7 @@ is conforming depends on which specs apply, and leaves it at that. -->

<pre class="idl">interface <dfn>HTMLAllCollection</dfn> : <span>HTMLCollection</span> {
// inherits <span title="dom-HTMLCollection-length">length</span> and <span title="dom-HTMLCollection-item">item</span>()
caller getter object? <span title="dom-HTMLAllCollection-namedItem">namedItem</span>(DOMString name); // overrides inherited namedItem()
legacycaller getter object? <span title="dom-HTMLAllCollection-namedItem">namedItem</span>(DOMString name); // overrides inherited namedItem()
<span>HTMLAllCollection</span> <span title="dom-HTMLAllCollection-tags">tags</span>(DOMString tagName);
};</pre>

Expand Down Expand Up @@ -8166,6 +8166,11 @@ is conforming depends on which specs apply, and leaves it at that. -->
object on which the method was invoked. In <span>HTML
documents</span>, the argument must first be <span>converted to
ASCII lowercase</span>.</p>
<!--if legacycaller is removed:
<p>In addition to the above, <code>HTMLAllCollection</code> objects,
in JavaScript, must be callable. Calling such an object must
implicitly invoke the index getter with the same arguments.</p>
-->

</div>

Expand All @@ -8179,7 +8184,7 @@ is conforming depends on which specs apply, and leaves it at that. -->

<pre class="idl">interface <dfn>HTMLFormControlsCollection</dfn> : <span>HTMLCollection</span> {
// inherits <span title="dom-HTMLCollection-length">length</span> and <span title="dom-HTMLCollection-item">item</span>()
caller getter object? <span title="dom-HTMLFormControlsCollection-namedItem">namedItem</span>(DOMString name); // overrides inherited namedItem()
legacycaller getter object? <span title="dom-HTMLFormControlsCollection-namedItem">namedItem</span>(DOMString name); // overrides inherited namedItem()
};

interface <dfn>RadioNodeList</dfn> : <span>NodeList</span> {
Expand Down Expand Up @@ -8325,7 +8330,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<pre class="idl">interface <dfn>HTMLOptionsCollection</dfn> : <span>HTMLCollection</span> {
// inherits <span title="dom-HTMLCollection-item">item</span>()
attribute unsigned long <span title="dom-HTMLOptionsCollection-length">length</span>; // overrides inherited length
caller getter object? <span title="dom-HTMLOptionsCollection-namedItem">namedItem</span>(DOMString name); // overrides inherited namedItem()
legacycaller getter object? <span title="dom-HTMLOptionsCollection-namedItem">namedItem</span>(DOMString name); // overrides inherited namedItem()
<span title="dom-HTMLOptionsCollection-setter">setter creator</span> void (unsigned long index, <span>HTMLOptionElement</span> option);
void <span title="dom-HTMLOptionsCollection-add">add</span>(<span>HTMLOptionElement</span> element, optional <span>HTMLElement</span>? before);
void <span title="dom-HTMLOptionsCollection-add">add</span>(<span>HTMLOptGroupElement</span> element, optional <span>HTMLElement</span>? before);
Expand Down Expand Up @@ -8575,7 +8580,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..

<pre class="idl">interface <dfn>HTMLPropertiesCollection</dfn> : <span>HTMLCollection</span> {
// inherits <span title="dom-HTMLCollection-length">length</span> and <span title="dom-HTMLCollection-item">item</span>()
caller getter <span>PropertyNodeList</span>? <span title="dom-HTMLPropertiesCollection-namedItem">namedItem</span>(DOMString name); // overrides inherited namedItem()
legacycaller getter <span>PropertyNodeList</span>? <span title="dom-HTMLPropertiesCollection-namedItem">namedItem</span>(DOMString name); // overrides inherited namedItem()
readonly attribute <span>DOMStringList</span> <span title="dom-HTMLPropertiesCollection-names">names</span>;
};

Expand Down Expand Up @@ -46994,8 +46999,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {

readonly attribute <span>HTMLFormControlsCollection</span> <span title="dom-form-elements">elements</span>;
readonly attribute long <span title="dom-form-length">length</span>;
caller <span title="dom-form-item">getter</span> <span>Element</span> (unsigned long index);
caller <span title="dom-form-namedItem">getter</span> object (DOMString name);
legacycaller <span title="dom-form-item">getter</span> <span>Element</span> (unsigned long index);
legacycaller <span title="dom-form-namedItem">getter</span> object (DOMString name);

void <span title="dom-form-submit">submit</span>();
void <span title="dom-form-reset">reset</span>();
Expand Down

0 comments on commit d163a4d

Please sign in to comment.