W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2011

html5/spec common-input-element-attributes.html,1.49,1.50 spec.html,1.1561,1.1562

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 15 Jul 2011 22:46:27 +0000
To: public-html-commits@w3.org
Message-Id: <E1Qhr9P-0007zd-Re@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30701

Modified Files:
	common-input-element-attributes.html spec.html 
Log Message:
Try to clarify some of the conformance requirements around pattern=''. (whatwg r6309)

[updated by splitter]


Index: common-input-element-attributes.html
===================================================================
RCS file: /sources/public/html5/spec/common-input-element-attributes.html,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- common-input-element-attributes.html	9 Jun 2011 00:47:18 -0000	1.49
+++ common-input-element-attributes.html	15 Jul 2011 22:46:25 -0000	1.50
@@ -764,12 +764,16 @@
   entirety of each of the element's <a href="association-of-controls-and-forms.html#concept-fe-values" title="concept-fe-values">value<em>s</em></a>, then the element
   is <a href="association-of-controls-and-forms.html#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><p>When an <code><a href="the-input-element.html#the-input-element">input</a></code> element has a <code title="attr-input-pattern"><a href="#attr-input-pattern">pattern</a></code> attribute specified,
   authors should include a <code title="attr-title"><a href="elements.html#the-title-attribute">title</a></code>

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1561
retrieving revision 1.1562
diff -u -d -r1.1561 -r1.1562
--- spec.html	15 Jul 2011 20:46:54 -0000	1.1561
+++ spec.html	15 Jul 2011 22:46:25 -0000	1.1562
@@ -347,7 +347,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.5040.
+This is revision 1.5041.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Friday, 15 July 2011 22:46:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 July 2011 22:46:33 GMT