- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 04 Oct 2008 00:25:18 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv19731 Modified Files: Overview.html Log Message: WF2: Rejig the references for pattern=''. (whatwg r2279) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1451 retrieving revision 1.1452 diff -u -d -r1.1451 -r1.1452 --- Overview.html 4 Oct 2008 00:22:36 -0000 1.1451 +++ Overview.html 4 Oct 2008 00:25:15 -0000 1.1452 @@ -20676,9 +20676,12 @@ sections 15.10.7.2 through 15.10.7.4), compiles successfully but the resulting regular expression does not match the entirety of the element's <a href=#concept-fe-value title=concept-fe-value>value</a>, then the - element is <span>suffering from a pattern mismatch</span>.<p class=note>This implies that the regular expression language - used for this attribute is the same as that defined in <a href=#references>[ECMA262]</a>, except that the <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute must match the - entire value, not just any subset (somewhat as if it implied a <code title="">^(?:</code> at the start of the pattern and a <code title="">)$</code> at the end).<h6 id=the-min-and-max-attributes><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> and <code title=attr-input-max><a href=#attr-input-max>max</a></code> attributes</h6><p>The <dfn id=attr-input-min title=attr-input-min><code>min</code></dfn> and <dfn id=attr-input-max title=attr-input-max><code>max</code></dfn> attributes indicate + element is <span>suffering from a pattern mismatch</span>. <a href=#references>[ECMA262]</a><p class=note>This implies that the regular expression language + used for this attribute is the same as that defined in ECMA 262, + except that the <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> + attribute must match the entire value, not just any subset (somewhat + as if it implied a <code title="">^(?:</code> at the start of the + pattern and a <code title="">)$</code> at the end).<h6 id=the-min-and-max-attributes><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> and <code title=attr-input-max><a href=#attr-input-max>max</a></code> attributes</h6><p>The <dfn id=attr-input-min title=attr-input-min><code>min</code></dfn> and <dfn id=attr-input-max title=attr-input-max><code>max</code></dfn> attributes indicate the allowed range of values for the element.<p>Their syntax is defined by the section that defines the <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute's current state.<p>If the element has a <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, and the result of applying the <a href=#concept-input-value-string-number title=concept-input-value-string-number>algorithm to convert a string to a number</a> to the value of the <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute is a a number, then that
Received on Saturday, 4 October 2008 00:25:56 UTC