- From: poot <cvsmail@w3.org>
- Date: Fri, 3 Oct 2008 07:40:29 +0900 (JST)
- To: public-html-diffs@w3.org
WF2: <input type=button> (whatwg r2271) 4.10.4.1.20 Button state http://people.w3.org/mike/diffs/html5/spec/Overview.1.1444.html#button-state 4.10.4.2 Common input element attributes http://people.w3.org/mike/diffs/html5/spec/Overview.1.1444.html#common-input-element-attributes 4.10.4.1.21 Common algorithms http://people.w3.org/mike/diffs/html5/spec/Overview.1.1444.html#common-algorithms alt http://people.w3.org/mike/diffs/html5/spec/Overview.1.1444.html#attr-input-alt http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1443&r2=1.1444&f=h http://html5.org/tools/web-apps-tracker?from=2270&to=2271 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1443 retrieving revision 1.1444 diff -u -d -r1.1443 -r1.1444 --- Overview.html 2 Oct 2008 22:23:13 -0000 1.1443 +++ Overview.html 2 Oct 2008 22:37:30 -0000 1.1444 @@ -20367,10 +20367,40 @@ <code class=no-backref title=dom-input-valueAsNumber><a href=#dom-input-valueasnumber>valueAsNumber</a></code> DOM attributes; <code class=no-backref title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> and <code class=no-backref title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code> methods.<h6 id=button-state><span class=secno>4.10.4.1.20 </span><dfn title=attr-input-type-button>Button</dfn> state</h6><p>When an <code><a href=#the-input-element>input</a></code> element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#button-state title=attr-input-type-button>Button</a> state, the rules in - this section apply.<p class=XXX>...<p><strong>Constraint validation:</strong> If an <code><a href=#the-input-element>input</a></code> - element's <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in - the <a href=#button-state title=attr-input-type-button>Button</a> state, it is - <a href=#barred-from-constraint-validation>barred from constraint validation</a>.<h6 id=common-algorithms><span class=secno>4.10.4.1.21 </span>Common algorithms</h6><p>When a user agent is to <dfn id=strip-line-breaks-from-the-value>strip line breaks from the + this section apply.<p>The <code><a href=#the-input-element>input</a></code> element represents a button with no + default behavior. If the element has a <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, the button's label + must be the value of that attribute; otherwise, it must be the empty + string.<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>, + the user should allow the user to activate the element.</p><!-- XXX event timing; activation behavior --><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as + follows:</strong> Do nothing.<p><strong>Constraint validation:</strong> The element is + <a href=#barred-from-constraint-validation>barred from constraint validation</a>.<p>The <code title=dom-input-value><a href=#dom-input-value>value</a></code> DOM attribute + applies to this element and is in mode <a href=#dom-input-value-default title=dom-input-value-default>default</a>.<p>The following content attributes must not be specified and do not + apply to the element: + <code class=no-backref title=attr-input-accept><a href=#attr-input-accept>accept</a></code>, + <code class=no-backref title=attr-fs-action><a href=#attr-fs-action>action</a></code>, + <code class=no-backref title=attr-input-alt><a href=#attr-input-alt>alt</a></code>, + <code class=no-backref title=attr-input-autocomplete><a href=#attr-input-autocomplete>autocomplete</a></code>, + <code class=no-backref title=attr-input-checked><a href=#attr-input-checked>checked</a></code>, + <code class=no-backref title=attr-fs-enctype><a href=#attr-fs-enctype>enctype</a></code>, + <code class=no-backref title=attr-input-list><a href=#attr-input-list>list</a></code>, + <code class=no-backref title=attr-input-max><a href=#attr-input-max>max</a></code>, + <code class=no-backref title=attr-input-maxlength><a href=#attr-input-maxlength>maxlength</a></code>, + <code class=no-backref title=attr-fs-method><a href=#attr-fs-method>method</a></code>, + <code class=no-backref title=attr-input-min><a href=#attr-input-min>min</a></code>, + <code class=no-backref title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code>, + <code class=no-backref title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code>, + <code class=no-backref title=attr-input-required><a href=#attr-input-required>required</a></code> + <code class=no-backref title=attr-input-size><a href=#attr-input-size>size</a></code>, + <code class=no-backref title=attr-input-src><a href=#attr-input-src>src</a></code>, + <code class=no-backref title=attr-input-step><a href=#attr-input-step>step</a></code>, and + <code class=no-backref title=attr-fs-target><a href=#attr-fs-target>target</a></code>.<p>The following DOM attributes and methods do not apply to the element: + <code class=no-backref title=dom-input-checked><a href=#dom-input-checked>checked</a></code>, + <code class=no-backref title=dom-input-list><a href=#dom-input-list>list</a></code>, + <code class=no-backref title=dom-input-selectedOption><a href=#dom-input-selectedoption>selectedOption</a></code>, + <code class=no-backref title=dom-input-valueAsDate><a href=#dom-input-valueasdate>valueAsDate</a></code> and + <code class=no-backref title=dom-input-valueAsNumber><a href=#dom-input-valueasnumber>valueAsNumber</a></code> DOM attributes; + <code class=no-backref title=dom-input-stepDown><a href=#dom-input-stepdown>stepDown()</a></code> and + <code class=no-backref title=dom-input-stepUp><a href=#dom-input-stepup>stepUp()</a></code> methods.<h6 id=common-algorithms><span class=secno>4.10.4.1.21 </span>Common algorithms</h6><p>When a user agent is to <dfn id=strip-line-breaks-from-the-value>strip line breaks from the value</dfn>, the user agent must remove any U+000A LINE FEED (LF) and U+000D CARRIAGE RETURN (CR) characters from <a href=#concept-fe-value title=concept-fe-value>value</a>.<h5 id=common-input-element-attributes><span class=secno>4.10.4.2 </span>Common <code><a href=#the-input-element>input</a></code> element attributes</h5><p>These attributes only apply to an <code><a href=#the-input-element>input</a></code> element if its <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in a
Received on Thursday, 2 October 2008 22:41:09 UTC