Skip to content
Permalink
Browse files

[e] (0) Try to clarify some of the conformance requirements around pa…

…ttern=''.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12555

git-svn-id: http://svn.whatwg.org/webapps@6309 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 15, 2011
1 parent f12015b commit 9b79b2da90ac3c112672f25d9e57377f207db0f7
Showing with 21 additions and 9 deletions.
  1. +7 −3 complete.html
  2. +7 −3 index
  3. +7 −3 source
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>

10 index
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>

10 source
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>

0 comments on commit 9b79b2d

Please sign in to comment.
You can’t perform that action at this time.