- From: poot <cvsmail@w3.org>
- Date: Thu, 14 Oct 2010 17:05:48 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: update to new webidl terminology (whatwg r5622) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4497&r2=1.4498&f=h http://html5.org/tools/web-apps-tracker?from=5621&to=5622 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4497 retrieving revision 1.4498 diff -u -d -r1.4497 -r1.4498 --- Overview.html 14 Oct 2010 07:40:25 -0000 1.4497 +++ Overview.html 14 Oct 2010 08:05:31 -0000 1.4498 @@ -2823,6 +2823,10 @@ required for conforming IDL fragments, as described in the Web IDL specification. <a href="#refsWEBIDL">[WEBIDL]</a></p> + <p>The terms <dfn id="supported-property-indices">supported property indices</dfn> and + <dfn id="supported-property-names">supported property names</dfn> are used as defined in the + WebIDL specification.</p> + <p id="float-nan">Except where otherwise specified, if an IDL attribute that is a floating point number type (<code title="">double</code>) is assigned an Infinity or Not-a-Number (NaN) value, a <code><a href="#not_supported_err">NOT_SUPPORTED_ERR</a></code> exception must be @@ -6109,11 +6113,11 @@ </dd> </dl><div class="impl"> - <p>The object's <span>indices of the supported indexed - properties</span> are the numbers in the range zero to one less than - the number of nodes <a href="#represented-by-the-collection">represented by the collection</a>. If - there are no such elements, then there are no <span>supported - indexed properties</span>.</p> + <p>The object's <a href="#supported-property-indices">supported property indices</a> are the + numbers in the range zero to one less than the number of nodes + <a href="#represented-by-the-collection">represented by the collection</a>. If there are no such + elements, then there are no <a href="#supported-property-indices">supported property + indices</a>.</p> <p>The <dfn id="dom-htmlcollection-length" title="dom-HTMLCollection-length"><code>length</code></dfn> attribute must return the number of nodes <a href="#represented-by-the-collection">represented by the @@ -6122,7 +6126,7 @@ <p>The <dfn id="dom-htmlcollection-item" title="dom-HTMLCollection-item"><code>item(<var title="">index</var>)</code></dfn> method must return the <var title="">index</var>th node in the collection. If there is no <var title="">index</var>th node in the collection, then the method must return null.</p> - <p>The <span>names of the supported named properties</span> consist + <p>The <a href="#supported-property-names">supported property names</a> consist of the values of the <code title="">name</code> attributes of each <code><a href="#the-a-element">a</a></code>, <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-area-element">area</a></code>, <code><a href="#the-embed-element">embed</a></code>, <code><a href="#the-form-element">form</a></code>, <code><a href="#frame">frame</a></code>, @@ -6190,10 +6194,9 @@ </dl><div class="impl"> - <p>The object's <span>indices of the supported indexed - properties</span> and <span>names of the supported named - properties</span> are as defined for <code><a href="#htmlcollection">HTMLCollection</a></code> - objects.</p> + <p>The object's <a href="#supported-property-indices">supported property indices</a> and + <a href="#supported-property-names">supported property names</a> are as defined for + <code><a href="#htmlcollection">HTMLCollection</a></code> objects.</p> <p>The <dfn id="dom-htmlallcollection-nameditem" title="dom-HTMLAllCollection-namedItem"><code>namedItem(<var title="">key</var>)</code></dfn> method must act according to the following algorithm:</p> @@ -6277,12 +6280,11 @@ </dl><div class="impl"> - <p>The object's <span>indices of the supported indexed - properties</span> are as defined for <code><a href="#htmlcollection">HTMLCollection</a></code> - objects.</p> + <p>The object's <a href="#supported-property-indices">supported property indices</a> are as + defined for <code><a href="#htmlcollection">HTMLCollection</a></code> objects.</p> - <p>The <span>names of the supported named properties</span> consist - of the values of all the <code title="attr-id"><a href="#the-id-attribute">id</a></code> and <code title="attr-fe-name"><a href="#attr-fe-name">name</a></code> attributes of all the elements + <p>The <a href="#supported-property-names">supported property names</a> consist of the values + of all the <code title="attr-id"><a href="#the-id-attribute">id</a></code> and <code title="attr-fe-name"><a href="#attr-fe-name">name</a></code> attributes of all the elements <a href="#represented-by-the-collection">represented by the collection</a>.</p> <p>The <dfn id="dom-htmlformcontrolscollection-nameditem" title="dom-HTMLFormControlsCollection-namedItem"><code>namedItem(<var title="">name</var>)</code></dfn> method must act according to the @@ -6410,9 +6412,8 @@ </dl><div class="impl"> - <p>The object's <span>indices of the supported indexed - properties</span> are as defined for <code><a href="#htmlcollection">HTMLCollection</a></code> - objects.</p> + <p>The object's <a href="#supported-property-indices">supported property indices</a> are as + defined for <code><a href="#htmlcollection">HTMLCollection</a></code> objects.</p> <p>On getting, the <dfn id="dom-htmloptionscollection-length" title="dom-HTMLOptionsCollection-length"><code>length</code></dfn> attribute must return the number of nodes <a href="#represented-by-the-collection">represented by the @@ -6438,8 +6439,8 @@ children to existing <code><a href="#the-optgroup-element">optgroup</a></code> elements (though it can remove children from them).</p> - <p>The <span>names of the supported named properties</span> consist - of the values of all the <code title="attr-id"><a href="#the-id-attribute">id</a></code> and <code title="attr-option-name"><a href="#attr-option-name">name</a></code> attributes of all the elements + <p>The <a href="#supported-property-names">supported property names</a> consist of the values + of all the <code title="attr-id"><a href="#the-id-attribute">id</a></code> and <code title="attr-option-name"><a href="#attr-option-name">name</a></code> attributes of all the elements <a href="#represented-by-the-collection">represented by the collection</a>.</p> <p>The <dfn id="dom-htmloptionscollection-nameditem" title="dom-HTMLOptionsCollection-namedItem"><code>namedItem(<var title="">name</var>)</code></dfn> method must act according to the @@ -6574,9 +6575,9 @@ attribute must return the number of tokens that result from <a href="#split-a-string-on-spaces" title="split a string on spaces">splitting the underlying string on spaces</a>. This is the <var title="dom-tokenlist-length"><a href="#dom-tokenlist-length">length</a></var>.</p> - <p>The object's <span>indices of the supported indexed - properties</span> are the numbers in the range zero to <span title=""><var title="dom-tokenlist-length"><a href="#dom-tokenlist-length">length</a></var>-1</span>, unless the <var title="dom-tokenlist-length"><a href="#dom-tokenlist-length">length</a></var> is zero, in which case - there are no <span>supported indexed properties</span>.</p> + <p>The object's <a href="#supported-property-indices">supported property indices</a> are the + numbers in the range zero to <span title=""><var title="dom-tokenlist-length"><a href="#dom-tokenlist-length">length</a></var>-1</span>, unless the <var title="dom-tokenlist-length"><a href="#dom-tokenlist-length">length</a></var> is zero, in which case + there are no <a href="#supported-property-indices">supported property indices</a>.</p> <p>The <dfn id="dom-tokenlist-item" title="dom-tokenlist-item"><code>item(<var title="">index</var>)</code></dfn> method must <a href="#split-a-string-on-spaces" title="split a string on spaces">split the underlying string on spaces</a>, @@ -6850,7 +6851,7 @@ deleter void (in DOMString name); };</pre> - <p>The <span>names of the supported named properties</span> on a + <p>The <a href="#supported-property-names">supported property names</a> on a <code><a href="#domstringmap">DOMStringMap</a></code> object at any instant are the names of each pair returned from the algorithm for getting the list of name-value pairs at that instant.</p> @@ -7656,10 +7657,10 @@ --><div class="impl"> <hr><p>The <code><a href="#htmldocument">HTMLDocument</a></code> interface <span title="support - named properties">supports named properties</span>. The <span>names - of the supported named properties</span> at any moment consist of - the values of the <code title="attr-name">name</code> content - attributes of all the <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-embed-element">embed</a></code>, + named properties">supports named properties</span>. The + <a href="#supported-property-names">supported property names</a> at any moment consist of the + values of the <code title="attr-name">name</code> content attributes + of all the <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-embed-element">embed</a></code>, <code><a href="#the-form-element">form</a></code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, and <a href="#fallback-free">fallback-free</a> <code><a href="#the-object-element">object</a></code> elements in the <code><a href="#document">Document</a></code> that have <code title="attr-name">name</code> @@ -27461,10 +27462,8 @@ attribute must return the number of nodes <a href="#represented-by-the-collection" title="represented by the collection">represented</a> by the <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> collection.</p> - <p>The - <span>indices of the supported indexed properties</span> at any - instant are the indices supported by the object returned by the - <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> attribute at that + <p>The <a href="#supported-property-indices">supported property indices</a> at any instant are + the indices supported by the object returned by the <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> attribute at that instant.</p> <p>The <dfn id="dom-form-item" title="dom-form-item"><code>item(<var title="">index</var>)</code></dfn> method must return the value @@ -27475,20 +27474,18 @@ called the <dfn id="past-names-map">past names map</dfn>. It is used to persist names of controls even when they change names.</p> - <p>The <span>names of the supported named properties</span> are the - union of the names currently supported by the object returned by the - <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> attribute, and the - names currently in the <a href="#past-names-map">past names map</a>.</p> + <p>The <a href="#supported-property-names">supported property names</a> are the union of the + names currently supported by the object returned by the <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> attribute, and the names + currently in the <a href="#past-names-map">past names map</a>.</p> <p>The <dfn id="dom-form-nameditem" title="dom-form-namedItem"><code>namedItem(<var title="">name</var>)</code></dfn> method, when called, must run the following steps:</p> <ol><li> - <p>If <var title="">name</var> is one of the <span>names of the - supported named properties</span> of the object returned by the - <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> attribute, then - run these substeps:</p> + <p>If <var title="">name</var> is one of the <a href="#supported-property-names">supported + property names</a> of the object returned by the <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> attribute, then run + these substeps:</p> <ol><li><p>Let <var title="">candidate</var> be the object returned by the <code title="dom-HTMLFormControlsCollection-namedItem"><a href="#dom-htmlformcontrolscollection-nameditem">namedItem()</a></code> @@ -33028,9 +33025,8 @@ <p>The <code title="dom-select-options"><a href="#dom-select-options">options</a></code> collection is also mirrored on the <code><a href="#htmlselectelement">HTMLSelectElement</a></code> object. The - <span>indices of the supported indexed properties</span> at any - instant are the indices supported by the object returned by the - <code title="dom-select-options"><a href="#dom-select-options">options</a></code> attribute at that + <a href="#supported-property-indices">supported property indices</a> at any instant are the + indices supported by the object returned by the <code title="dom-select-options"><a href="#dom-select-options">options</a></code> attribute at that instant.</p> <p>The <dfn id="dom-select-length" title="dom-select-length"><code>length</code></dfn> IDL @@ -38911,12 +38907,12 @@ selection. This is the <var title="dom-DataGridSelection-length">length</var>.</p> - <p>The object's <span>indices of the supported indexed - properties</span> are the numbers in the range zero to <span title=""><var + <p>The object's <span>supported property indices</span> are the + numbers in the range zero to <span title=""><var title="dom-DataGridSelection-length">length</var>-1</span>, unless the <var title="dom-DataGridSelection-length">length</var> is zero, - in which case there are no <span>supported indexed - properties</span>.</p> + in which case there are no <span>supported property + indices</span>.</p> <p>The <dfn title="dom-DataGridSelection-item"><code>item(<var title="">index</var>)</code></dfn> method must return a @@ -42520,10 +42516,10 @@ <!-- in other words, frames are only accessible to same-thread processes --> - <p>The <span>indices of the supported indexed properties</span> on - the <code><a href="#window">Window</a></code> object at any instant are the numbers in the - range 0 .. <span title=""><var title="">n</var>-1</span>, where <var title="">n</var> is the number returned by the <code title="dom-length"><a href="#dom-length">length</a></code> IDL attribute. If <var title="">n</var> is zero then there are no <span>supported indexed - properties</span>.</p> + <p>The <a href="#supported-property-indices">supported property indices</a> on the + <code><a href="#window">Window</a></code> object at any instant are the numbers in the + range 0 .. <span title=""><var title="">n</var>-1</span>, where <var title="">n</var> is the number returned by the <code title="dom-length"><a href="#dom-length">length</a></code> IDL attribute. If <var title="">n</var> is zero then there are no <a href="#supported-property-indices">supported property + indices</a>.</p> <p>When a <code><a href="#window">Window</a></code> object is <dfn id="dom-window-item" title="dom-window-item">indexed to retrieve an indexed property</dfn> <var title="">index</var>, the value returned must be @@ -42547,8 +42543,8 @@ </dl><div class="impl"> <p>The <code><a href="#window">Window</a></code> interface <span title="support named - properties">supports named properties</span>. The <span>names of the - supported named properties</span> at any moment consist of:</p> + properties">supports named properties</span>. The <a href="#supported-property-names">supported + property names</a> at any moment consist of:</p> <ul><li>the value of the <code title="">name</code> content attribute for all <code><a href="#the-a-element">a</a></code>, <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-area-element">area</a></code>, @@ -51958,10 +51954,10 @@ attribute must return the number of <a href="#undo-object">undo object</a> entries in the <a href="#undo-transaction-history">undo transaction history</a>. This is the <var title="dom-UndoManager-length"><a href="#dom-undomanager-length">length</a></var>.</p> - <p>The object's <span>indices of the supported indexed - properties</span> are the numbers in the range zero to <span title=""><var title="dom-UndoManager-length"><a href="#dom-undomanager-length">length</a></var>-1</span>, unless the + <p>The object's <a href="#supported-property-indices">supported property indices</a> are the + numbers in the range zero to <span title=""><var title="dom-UndoManager-length"><a href="#dom-undomanager-length">length</a></var>-1</span>, unless the <var title="dom-UndoManager-length"><a href="#dom-undomanager-length">length</a></var> is zero, in which - case there are no <span>supported indexed properties</span>.</p> + case there are no <a href="#supported-property-indices">supported property indices</a>.</p> <p>The <dfn id="dom-undomanager-item" title="dom-UndoManager-item"><code>item(<var title="">n</var>)</code></dfn> method must return the <var title="">n</var>th <a href="#undo-object">undo object</a> entry in the <a href="#undo-transaction-history">undo transaction history</a>, if there is one, or null otherwise.</p>
Received on Thursday, 14 October 2010 08:06:18 UTC