- From: poot <cvsmail@w3.org>
- Date: Thu, 22 Sep 2011 19:37:11 -0400
- To: public-html-diffs@w3.org
hixie: Make size and maxlength conforming on type=number for now. (fixing r6413 better) (whatwg r6565) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5258&r2=1.5259&f=h http://html5.org/tools/web-apps-tracker?from=6564&to=6565 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5258 retrieving revision 1.5259 diff -u -d -r1.5258 -r1.5259 --- Overview.html 22 Sep 2011 23:23:27 -0000 1.5258 +++ Overview.html 22 Sep 2011 23:36:57 -0000 1.5259 @@ -67130,11 +67130,14 @@ be equal to the element's <a href="#concept-id" title="concept-id">ID</a>. In earlier versions of the language, this attribute was intended as a way to specify possible targets for fragment identifiers in <a href="#url" title="URL">URLs</a>. The <code title="attr-id"><a href="#the-id-attribute">id</a></code> - attribute should be used instead.</p><p>Authors should not specify the <code title="attr-input-maxlength"><a href="#attr-input-maxlength">maxlength</a></code> attribute on - <code><a href="#the-input-element">input</a></code> elements whose <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in the <a href="#number-state" title="attr-input-type-number">Number</a> state. One valid reason - for using the attribute regardless is to help legacy user agents - that do not support <code><a href="#the-input-element">input</a></code> elements with <code title="">type="number"</code> to still render the text field with a - useful width.<p class="note">In <a href="#syntax">the HTML syntax</a>, specifying a <a href="#syntax-doctype" title="syntax-DOCTYPE">DOCTYPE</a> that is an <a href="#obsolete-permitted-doctype">obsolete + attribute should be used instead.</p><p>Authors should not, but may despite requirements to the contrary + elsewhere in this specification, specify the <code title="attr-input-maxlength"><a href="#attr-input-maxlength">maxlength</a></code> and <code title="attr-input-size"><a href="#attr-input-size">size</a></code> attributes on <code><a href="#the-input-element">input</a></code> + elements whose <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attributes + are in the <a href="#number-state" title="attr-input-type-number">Number</a> state. + One valid reason for using these attributes regardless is to help + legacy user agents that do not support <code><a href="#the-input-element">input</a></code> elements + with <code title="">type="number"</code> to still render the text + field with a useful width.<p class="note">In <a href="#syntax">the HTML syntax</a>, specifying a <a href="#syntax-doctype" title="syntax-DOCTYPE">DOCTYPE</a> that is an <a href="#obsolete-permitted-doctype">obsolete permitted DOCTYPE</a> will also trigger a warning.<div class="impl"> <h4 id="warnings-for-obsolete-but-conforming-features"><span class="secno">11.1.1 </span>Warnings for obsolete but conforming features</h4> @@ -67168,8 +67171,11 @@ attribute on an <code><a href="#the-a-element">a</a></code> element, if its value is not the empty string.</li> - <li><p>The presence of a <code title="attr-input-maxlength"><a href="#attr-input-maxlength">maxlength</a></code> attribute on - an <code><a href="#the-input-element">input</a></code> element whose <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in the <a href="#number-state" title="attr-input-type-number">Number</a> state.</li> + <li><p>The presence of a <code title="attr-input-maxlength"><a href="#attr-input-maxlength">maxlength</a></code> attribute on an + <code><a href="#the-input-element">input</a></code> element whose <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in the <a href="#number-state" title="attr-input-type-number">Number</a> state.</li> + + <li><p>The presence of a <code title="attr-input-size"><a href="#attr-input-size">size</a></code> attribute on an + <code><a href="#the-input-element">input</a></code> element whose <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute is in the <a href="#number-state" title="attr-input-type-number">Number</a> state.</li> </ul><p>Conformance checkers must distinguish between pages that have no conformance errors and have none of these obsolete features, and
Received on Thursday, 22 September 2011 23:37:12 UTC