[html5] r2221 - [] (0) WF2: Minor tweaks for constraint validation features.

whatwg at whatwg.org whatwg at whatwg.org
Fri Sep 19 01:47:49 PDT 2008


Author: ianh
Date: 2008-09-19 01:47:48 -0700 (Fri, 19 Sep 2008)
New Revision: 2221

Modified:
   index
   source
Log:
[] (0) WF2: Minor tweaks for constraint validation features.

Modified: index
===================================================================
--- index	2008-09-19 01:30:42 UTC (rev 2220)
+++ index	2008-09-19 08:47:48 UTC (rev 2221)
@@ -30892,13 +30892,9 @@
 
   <h5 id=definitions><span class=secno>4.10.15.1. </span>Definitions</h5>
 
-  <p>An element is a <dfn id=candidate>candidate for constraint
-   validation</dfn> if the following conditions apply for that element:
+  <p class=big-issue>An element is a <dfn id=candidate>candidate for
+   constraint validation</dfn> ...
 
-  <ul>
-   <li class=big-issue>...
-  </ul>
-
   <p class=big-issue>An element <dfn id=satisfies
    title=concept-fv-valid>satisfies its constraints</dfn> if ...
 
@@ -30987,16 +30983,18 @@
      these steps.
 
    <li>
-    <p>Report the problems with the constraints of at last one of the
+    <p>Report the problems with the constraints of at least one of the
      elements given in <var title="">unhandled invalid controls</var> to the
-     user. User agents may focus one of those elements in the process. User
-     agents may report more than one constraint violation. User agents may
-     coalesce related constraint violation reports if appropriate (e.g. if
-     multiple radio buttons in a set are marked as required, only one error
-     need be reported). If one of the controls is not visible to the user
-     (e.g. it has the <code title=attr-hidden><a
-     href="#hidden4">hidden</a></code> attribute set) then user agents may
-     report a script error.
+     user. User agents may focus one of those elements in the process, by
+     running the <a href="#focusing">focusing steps</a> for that element, and
+     may change the scrolling position of the document, or perform some other
+     action that brings the element to the user's attention. User agents may
+     report more than one constraint violation. User agents may coalesce
+     related constraint violation reports if appropriate (e.g. if multiple
+     radio buttons in a set are marked as required, only one error need be
+     reported). If one of the controls is not visible to the user (e.g. it
+     has the <code title=attr-hidden><a href="#hidden4">hidden</a></code>
+     attribute set) then user agents may report a script error.
 
    <li>
     <p>Return a <i>negative</i> result.

Modified: source
===================================================================
--- source	2008-09-19 01:30:42 UTC (rev 2220)
+++ source	2008-09-19 08:47:48 UTC (rev 2221)
@@ -27237,15 +27237,9 @@
 
   <h5>Definitions</h5>
 
-  <p>An element is a <dfn>candidate for constraint validation</dfn> if
-  the following conditions apply for that element:</p>
+  <p class="big-issue">An element is a <dfn>candidate for constraint
+  validation</dfn> ...</p>
 
-  <ul>
-
-   <li class="big-issue">...</li>
-
-  </ul>
-
   <p class="big-issue">An element <dfn
   title="concept-fv-valid">satisfies its constraints</dfn> if ...</p>
 
@@ -27280,7 +27274,8 @@
     <ol>
 
      <li><p>If <var title="">field</var> is not a <span>candidate for
-     constraint validation</span>, then move on to the next element.</p></li>
+     constraint validation</span>, then move on to the next
+     element.</p></li>
 
      <li><p>Otherwise, if <var title="">field</var> <span
      title="concept-fv-valid">satisfies its constaints</span>, then
@@ -27339,10 +27334,13 @@
    <li><p>If the result was <i>positive</i>, then return that result
    and abort these steps.</p></li>
 
-   <li><p>Report the problems with the constraints of at last one of
+   <li><p>Report the problems with the constraints of at least one of
    the elements given in <var title="">unhandled invalid
    controls</var> to the user. User agents may focus one of those
-   elements in the process. User agents may report more than one
+   elements in the process, by running the <span>focusing steps</span>
+   for that element, and may change the scrolling position of the
+   document, or perform some other action that brings the element to
+   the user's attention. User agents may report more than one
    constraint violation. User agents may coalesce related constraint
    violation reports if appropriate (e.g. if multiple radio buttons in
    a set are marked as required, only one error need be reported). If




More information about the Commit-Watchers mailing list