[html5] r6309 - [e] (0) Try to clarify some of the conformance requirements around pattern=''. F [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Jul 15 15:11:15 PDT 2011
Author: ianh
Date: 2011-07-15 15:11:14 -0700 (Fri, 15 Jul 2011)
New Revision: 6309
Modified:
complete.html
index
source
Log:
[e] (0) Try to clarify some of the conformance requirements around pattern=''.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12555
Modified: complete.html
===================================================================
--- complete.html 2011-07-15 20:39:59 UTC (rev 6308)
+++ complete.html 2011-07-15 22:11:14 UTC (rev 6309)
@@ -47778,12 +47778,16 @@
entirety of each of the element's <a href=#concept-fe-values title=concept-fe-values>value<em>s</em></a>, then the element
is <a href=#suffering-from-a-pattern-mismatch>suffering from a pattern mismatch</a>.</p>
+ <p>The <a href=#compiled-pattern-regular-expression>compiled pattern regular expression</a>, when
+ matched against a string, must have its start anchored to the start
+ of the string and its end anchored to the end of the string.</p>
+
<p class=note>This implies that the regular expression language
used for this attribute is the same as that used in JavaScript,
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).</p>
+ attribute is matched against 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).</p>
</div>
Modified: index
===================================================================
--- index 2011-07-15 20:39:59 UTC (rev 6308)
+++ index 2011-07-15 22:11:14 UTC (rev 6309)
@@ -47650,12 +47650,16 @@
entirety of each of the element's <a href=#concept-fe-values title=concept-fe-values>value<em>s</em></a>, then the element
is <a href=#suffering-from-a-pattern-mismatch>suffering from a pattern mismatch</a>.</p>
+ <p>The <a href=#compiled-pattern-regular-expression>compiled pattern regular expression</a>, when
+ matched against a string, must have its start anchored to the start
+ of the string and its end anchored to the end of the string.</p>
+
<p class=note>This implies that the regular expression language
used for this attribute is the same as that used in JavaScript,
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).</p>
+ attribute is matched against 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).</p>
</div>
Modified: source
===================================================================
--- source 2011-07-15 20:39:59 UTC (rev 6308)
+++ source 2011-07-15 22:11:14 UTC (rev 6309)
@@ -53431,12 +53431,16 @@
title="concept-fe-values">value<em>s</em></span>, then the element
is <span>suffering from a pattern mismatch</span>.</p>
+ <p>The <span>compiled pattern regular expression</span>, when
+ matched against a string, must have its start anchored to the start
+ of the string and its end anchored to the end of the string.</p>
+
<p class="note">This implies that the regular expression language
used for this attribute is the same as that used in JavaScript,
except that the <code title="attr-input-pattern">pattern</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).</p>
+ attribute is matched against 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).</p>
</div>
More information about the Commit-Watchers
mailing list