- From: poot <cvsmail@w3.org>
- Date: Wed, 10 Aug 2011 19:55:26 -0400
- To: public-html-diffs@w3.org
hixie: Semi-allow <input type=number maxlength> for legacy reasons. (whatwg r6413) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5117&r2=1.5118&f=h http://html5.org/tools/web-apps-tracker?from=6412&to=6413 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5117 retrieving revision 1.5118 diff -u -d -r1.5117 -r1.5118 --- Overview.html 10 Aug 2011 22:57:06 -0000 1.5117 +++ Overview.html 10 Aug 2011 23:55:07 -0000 1.5118 @@ -66987,7 +66987,11 @@ 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 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 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 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> @@ -67021,6 +67025,9 @@ 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> + </ul><p>Conformance checkers must distinguish between pages that have no conformance errors and have none of these obsolete features, and pages that have no conformance errors but do have some of these
Received on Wednesday, 10 August 2011 23:55:27 UTC