- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 12 Aug 2011 23:46:25 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv16491 Modified Files: common-dom-interfaces.html spec.html states-of-the-type-attribute.html the-button-element.html Log Message: strip spaces from around type=email values, since we already do for type=url and type=email multiple. (whatwg r6441) [updated by splitter] Index: common-dom-interfaces.html =================================================================== RCS file: /sources/public/html5/spec/common-dom-interfaces.html,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- common-dom-interfaces.html 12 Aug 2011 21:46:26 -0000 1.68 +++ common-dom-interfaces.html 12 Aug 2011 23:46:22 -0000 1.69 @@ -716,8 +716,10 @@ 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>(in DOMString name); // overrides inherited namedItem() <a href="#dom-htmloptionscollection-setter" title="dom-HTMLOptionsCollection-setter">setter creator</a> void (in unsigned long index, in <a href="the-button-element.html#htmloptionelement">HTMLOptionElement</a> option); - void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(in <a href="elements.html#htmlelement">HTMLElement</a> element, in optional <a href="elements.html#htmlelement">HTMLElement</a>? before); - void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(in <a href="elements.html#htmlelement">HTMLElement</a> element, in long before); + void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(in <a href="the-button-element.html#htmloptionelement">HTMLOptionElement</a> element, in optional <a href="elements.html#htmlelement">HTMLElement</a>? before); + void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(in <a href="the-button-element.html#htmloptgroupelement">HTMLOptGroupElement</a> element, in optional <a href="elements.html#htmlelement">HTMLElement</a>? before); + void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(in <a href="the-button-element.html#htmloptionelement">HTMLOptionElement</a> element, in long before); + void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(in <a href="the-button-element.html#htmloptgroupelement">HTMLOptGroupElement</a> element, in long before); void <a href="#dom-htmloptionscollection-remove" title="dom-HTMLOptionsCollection-remove">remove</a>(in long index); attribute long <a href="#dom-htmloptionscollection-selectedindex" title="dom-HTMLOptionsCollection-selectedIndex">selectedIndex</a>; };</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLOptionsCollection-length"><a href="#dom-htmloptionscollection-length">length</a></code> [ = <var title="">value</var> ]</dt> @@ -755,8 +757,7 @@ end of the list.</p> <p>This method will throw a <code><a href="infrastructure.html#hierarchy_request_err">HIERARCHY_REQUEST_ERR</a></code> exception if <var title="">element</var> is an ancestor of the - element into which it is to be inserted. If <var title="">element</var> is not an <code><a href="the-button-element.html#the-option-element">option</a></code> or - <code><a href="the-button-element.html#the-optgroup-element">optgroup</a></code> element, then the method does nothing.</p> + element into which it is to be inserted.</p> </dd> <dt><var title="">collection</var> . <code title="dom-HTMLOptionsCollection-selectedIndex"><a href="#dom-htmloptionscollection-selectedindex">selectedIndex</a></code> [ = <var title="">value</var> ]</dt> @@ -849,11 +850,7 @@ </ol><p>The <dfn id="dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add"><code>add(<var title="">element</var>, <var title="">before</var>)</code></dfn> method must act according to the following algorithm:</p> - <ol><li><p>If <var title="">element</var> is not an <code><a href="the-button-element.html#the-option-element">option</a></code> - or <code><a href="the-button-element.html#the-optgroup-element">optgroup</a></code> element, then return and abort these - steps.</p></li> - - <li><p>If <var title="">element</var> is an ancestor of the + <ol><li><p>If <var title="">element</var> is an ancestor of the <code><a href="the-button-element.html#the-select-element">select</a></code> element on which the <code><a href="#htmloptionscollection">HTMLOptionsCollection</a></code> is rooted, then throw a <code><a href="infrastructure.html#hierarchy_request_err">HIERARCHY_REQUEST_ERR</a></code> exception.</p></li> Index: states-of-the-type-attribute.html =================================================================== RCS file: /sources/public/html5/spec/states-of-the-type-attribute.html,v retrieving revision 1.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- states-of-the-type-attribute.html 10 Aug 2011 00:47:12 -0000 1.50 +++ states-of-the-type-attribute.html 12 Aug 2011 23:46:23 -0000 1.51 @@ -747,7 +747,8 @@ <div class="impl"> <p><strong>The <a href="the-input-element.html#value-sanitization-algorithm">value sanitization algorithm</a> is as - follows</strong>: <a href="common-microsyntaxes.html#strip-line-breaks">Strip line breaks</a> from the <a href="association-of-controls-and-forms.html#concept-fe-value" title="concept-fe-value">value</a>.</p> + follows</strong>: <a href="common-microsyntaxes.html#strip-line-breaks">Strip line breaks</a> from the <a href="association-of-controls-and-forms.html#concept-fe-value" title="concept-fe-value">value</a>, then <a href="common-microsyntaxes.html#strip-leading-and-trailing-whitespace">strip leading + and trailing whitespace</a> from the <a href="association-of-controls-and-forms.html#concept-fe-value" title="concept-fe-value">value</a>.</p> <p>When the <code title="attr-input-multiple"><a href="common-input-element-attributes.html#attr-input-multiple">multiple</a></code> attribute is removed, the user agent must run the <a href="the-input-element.html#value-sanitization-algorithm">value Index: the-button-element.html =================================================================== RCS file: /sources/public/html5/spec/the-button-element.html,v retrieving revision 1.80 retrieving revision 1.81 diff -u -d -r1.80 -r1.81 --- the-button-element.html 10 Aug 2011 02:46:29 -0000 1.80 +++ the-button-element.html 12 Aug 2011 23:46:23 -0000 1.81 @@ -507,8 +507,10 @@ attribute unsigned long <a href="#dom-select-length" title="dom-select-length">length</a>; getter any <a href="#dom-select-item" title="dom-select-item">item</a>(in unsigned long index); any <a href="#dom-select-nameditem" title="dom-select-namedItem">namedItem</a>(in DOMString name); - void <a href="#dom-select-add" title="dom-select-add">add</a>(in <a href="elements.html#htmlelement">HTMLElement</a> element, in optional <a href="elements.html#htmlelement">HTMLElement</a>? before); - void <a href="#dom-select-add" title="dom-select-add">add</a>(in <a href="elements.html#htmlelement">HTMLElement</a> element, in long before); + void <a href="#dom-select-add" title="dom-select-add">add</a>(in <a href="#htmloptionelement">HTMLOptionElement</a> element, in optional <a href="elements.html#htmlelement">HTMLElement</a>? before); + void <a href="#dom-select-add" title="dom-select-add">add</a>(in <a href="#htmloptgroupelement">HTMLOptGroupElement</a> element, in optional <a href="elements.html#htmlelement">HTMLElement</a>? before); + void <a href="#dom-select-add" title="dom-select-add">add</a>(in <a href="#htmloptionelement">HTMLOptionElement</a> element, in long before); + void <a href="#dom-select-add" title="dom-select-add">add</a>(in <a href="#htmloptgroupelement">HTMLOptGroupElement</a> element, in long before); void <a href="#dom-select-remove" title="dom-select-remove">remove</a>(in long index); <a href="common-dom-interfaces.html#dom-htmloptionscollection-setter" title="dom-HTMLOptionsCollection-setter">setter creator</a> void (in unsigned long index, in <a href="#htmloptionelement">HTMLOptionElement</a> option); @@ -718,8 +720,7 @@ end of the list.</p> <p>This method will throw a <code><a href="infrastructure.html#hierarchy_request_err">HIERARCHY_REQUEST_ERR</a></code> exception if <var title="">element</var> is an ancestor of the - element into which it is to be inserted. If <var title="">element</var> is not an <code><a href="#the-option-element">option</a></code> or - <code><a href="#the-optgroup-element">optgroup</a></code> element, then the method does nothing.</p> + element into which it is to be inserted.</p> </dd> <dt><var title="">select</var> . <code title="dom-select-selectedOptions"><a href="#dom-select-selectedoptions">selectedOptions</a></code></dt> Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1616 retrieving revision 1.1617 diff -u -d -r1.1616 -r1.1617 --- spec.html 12 Aug 2011 22:46:27 -0000 1.1616 +++ spec.html 12 Aug 2011 23:46:22 -0000 1.1617 @@ -349,7 +349,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.5142. +This is revision 1.5144. </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 Friday, 12 August 2011 23:46:26 UTC