- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 14 Jun 2011 22:46:49 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv16037 Modified Files: common-dom-interfaces.html forms.html spec.html the-button-element.html Log Message: Simplify the non-normative descriptions of index getters to avoid confusing readers (the specifics of edge cases are rather subtle). (whatwg r6223) [updated by splitter] Index: common-dom-interfaces.html =================================================================== RCS file: /sources/public/html5/spec/common-dom-interfaces.html,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- common-dom-interfaces.html 13 Jun 2011 23:46:51 -0000 1.55 +++ common-dom-interfaces.html 14 Jun 2011 22:46:46 -0000 1.56 @@ -550,7 +550,6 @@ <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> <p>Returns the item with index <var title="">index</var> from the collection. The items are sorted in <a href="infrastructure.html#tree-order">tree order</a>.</p> - <p>Returns null if <var title="">index</var> is out of range.</p> </dd> <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-namedItem"><a href="#dom-htmlcollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> @@ -559,7 +558,6 @@ <dd> <p>Returns the first item with <a href="elements.html#concept-id" title="concept-id">ID</a> or name <var title="">name</var> from the collection.</p> - <p>Returns null if no element with that <a href="elements.html#concept-id" title="concept-id">ID</a> or name could be found.</p> <p>Only <code><a href="text-level-semantics.html#the-a-element">a</a></code>, <code><a href="obsolete.html#the-applet-element">applet</a></code>, <code><a href="the-map-element.html#the-area-element">area</a></code>, <code><a href="the-iframe-element.html#the-embed-element">embed</a></code>, <code><a href="forms.html#the-form-element">form</a></code>, <code><a href="obsolete.html#frame">frame</a></code>, <code><a href="obsolete.html#frameset">frameset</a></code>, <code><a href="the-iframe-element.html#the-iframe-element">iframe</a></code>, <code><a href="embedded-content-1.html#the-img-element">img</a></code>, and @@ -625,7 +623,6 @@ <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> <p>Returns the item with index <var title="">index</var> from the collection. The items are sorted in <a href="infrastructure.html#tree-order">tree order</a>.</p> - <p>Returns null if <var title="">index</var> is out of range.</p> </dd> <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLAllCollection-namedItem"><a href="#dom-htmlallcollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> @@ -635,7 +632,6 @@ <dd> <p>Returns the item with <a href="elements.html#concept-id" title="concept-id">ID</a> or name <var title="">name</var> from the collection.</p> <p>If there are multiple matching items, then an <code><a href="#htmlallcollection">HTMLAllCollection</a></code> object containing all those elements is returned.</p> - <p>Returns null if no element with that <a href="elements.html#concept-id" title="concept-id">ID</a> or name could be found.</p> <p>Only <code><a href="text-level-semantics.html#the-a-element">a</a></code>, <code><a href="obsolete.html#the-applet-element">applet</a></code>, <code><a href="the-map-element.html#the-area-element">area</a></code>, <code><a href="the-iframe-element.html#the-embed-element">embed</a></code>, <code><a href="forms.html#the-form-element">form</a></code>, <code><a href="obsolete.html#frame">frame</a></code>, <code><a href="obsolete.html#frameset">frameset</a></code>, <code><a href="the-iframe-element.html#the-iframe-element">iframe</a></code>, <code><a href="embedded-content-1.html#the-img-element">img</a></code>, and @@ -715,7 +711,6 @@ <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> <p>Returns the item with index <var title="">index</var> from the collection. The items are sorted in <a href="infrastructure.html#tree-order">tree order</a>.</p> - <p>Returns null if <var title="">index</var> is out of range.</p> </dd> <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLFormControlsCollection-namedItem"><a href="#dom-htmlformcontrolscollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> @@ -725,7 +720,6 @@ <dd> <p>Returns the item with <a href="elements.html#concept-id" title="concept-id">ID</a> or <code title="attr-fe-name"><a href="association-of-controls-and-forms.html#attr-fe-name">name</a></code> <var title="">name</var> from the collection.</p> <p>If there are multiple matching items, then a <code><a href="#radionodelist">RadioNodeList</a></code> object containing all those elements is returned.</p> - <p>Returns null if no element with that <a href="elements.html#concept-id" title="concept-id">ID</a> or <code title="attr-fe-name"><a href="association-of-controls-and-forms.html#attr-fe-name">name</a></code> could be found.</p> </dd> <dt><var title="">radioNodeList</var> . <var title="">value</var> [ = <var title="">value</var> ]</dt> @@ -824,7 +818,6 @@ <dt><var title="">collection</var>(<var title="">index</var>)</dt> <dd> <p>Returns the item with index <var title="">index</var> from the collection. The items are sorted in <a href="infrastructure.html#tree-order">tree order</a>.</p> - <p>Returns null if <var title="">index</var> is out of range.</p> </dd> <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLOptionsCollection-namedItem"><a href="#dom-htmloptionscollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> @@ -834,7 +827,6 @@ <dd> <p>Returns the item with <a href="elements.html#concept-id" title="concept-id">ID</a> or <code title="attr-option-name"><a href="obsolete.html#attr-option-name">name</a></code> <var title="">name</var> from the collection.</p> <p>If there are multiple matching items, then a <code><a href="infrastructure.html#nodelist">NodeList</a></code> object containing all those elements is returned.</p> - <p>Returns null if no element with that <a href="elements.html#concept-id" title="concept-id">ID</a> could be found.</p> </dd> <dt><var title="">collection</var> . <code title="dom-HTMLOptionsCollection-add"><a href="#dom-htmloptionscollection-add">add</a></code>(<var title="">element</var> [, <var title="">before</var> ] )</dt> @@ -989,7 +981,6 @@ <dt><var title="">tokenlist</var>[<var title="">index</var>]</dt> <dd> <p>Returns the token with index <var title="">index</var>. The tokens are returned in the order they are found in the underlying string.</p> - <p>Returns null if <var title="">index</var> is out of range.</p> </dd> <dt><var title="">hastoken</var> = <var title="">tokenlist</var> . <code title="dom-tokenlist-contains"><a href="#dom-tokenlist-contains">contains</a></code>(<var title="">token</var>)</dt> Index: forms.html =================================================================== RCS file: /sources/public/html5/spec/forms.html,v retrieving revision 1.1036 retrieving revision 1.1037 diff -u -d -r1.1036 -r1.1037 --- forms.html 14 Jun 2011 00:47:27 -0000 1.1036 +++ forms.html 14 Jun 2011 22:46:46 -0000 1.1037 @@ -799,8 +799,6 @@ <code><a href="infrastructure.html#nodelist">NodeList</a></code> object containing all those elements is returned.</p> - <p>Returns null if no element with that <a href="elements.html#concept-id" title="concept-id">ID</a> or <code title="attr-fe-name"><a href="association-of-controls-and-forms.html#attr-fe-name">name</a></code> could be found.</p> - </dd> <dt><var title="">form</var> . <code title="dom-form-submit"><a href="#dom-form-submit">submit</a></code>()</dt> Index: the-button-element.html =================================================================== RCS file: /sources/public/html5/spec/the-button-element.html,v retrieving revision 1.72 retrieving revision 1.73 diff -u -d -r1.72 -r1.73 --- the-button-element.html 14 Jun 2011 00:47:33 -0000 1.72 +++ the-button-element.html 14 Jun 2011 22:46:47 -0000 1.73 @@ -693,7 +693,6 @@ <dt><var title="">select</var>[<var title="">index</var>]</dt> <dd> <p>Returns the item with index <var title="">index</var> from the <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a>. The items are sorted in <a href="infrastructure.html#tree-order">tree order</a>.</p> - <p>Returns null if <var title="">index</var> is out of range.</p> </dd> <dt><var title="">element</var> = <var title="">select</var> . <code title="dom-select-item"><a href="#dom-select-item">namedItem</a></code>(<var title="">name</var>)</dt> Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1533 retrieving revision 1.1534 diff -u -d -r1.1533 -r1.1534 --- spec.html 14 Jun 2011 02:47:06 -0000 1.1533 +++ spec.html 14 Jun 2011 22:46:47 -0000 1.1534 @@ -347,7 +347,7 @@ <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">web developer edition</a>. -This is revision 1.4987. +This is revision 1.4988. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Tuesday, 14 June 2011 22:46:51 UTC