spec/Overview.html 1.1361 2188 WF2: Cross-refence the Constraint Valida

WF2: Cross-refence the Constraint Validation API attributes and methods
into their own dedicated section. (whatwg r2188)

input
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#input0
4.9.3 The input element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#the-input
datalist
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#datalist
setCustomValidity()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#setcustomvalidity
HTMLButtonElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#htmlbuttonelement
4.9.5 The label element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#the-label
HTMLFieldSetElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#htmlfieldsetelement
satisfies its constraints
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#satisfies
elements
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#elements4
HTMLInputElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#htmlinputelement
4.9.4 The button element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#the-button
candidate for constraint validation
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#candidate
label
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#label
4.9.7 The datalist element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#the-datalist
HTMLTextAreaElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#htmltextareaelement
HTMLSelectElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#htmlselectelement
statically validate the constraints
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#statically
4.9.16 Form submission
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#form-submission
validity
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#validity
4.9.15.3. The constraint validation API
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#the-constraint
4.9.15.1. Definitions
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#definitions
checkValidity()
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#checkvalidity0
target
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#target5
4.9.12 Association of controls and forms
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#association
validationMessage
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#validationmessage
selected file
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#selected0
interactively validate the constraints
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#interactively
4.9.15.2. Constraint validation
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#constraint
constraint validation API
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#constraint0
button
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#button
4.9.11 The output element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#the-output
willValidate
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#willvalidate
HTMLOutputElement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#htmloutputelement
output
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#output
4.9.15 Constraints
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1361.html#constraints

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1360&r2=1.1361&f=h
http://html5.org/tools/web-apps-tracker?from=2187&to=2188

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1360
retrieving revision 1.1361
diff -u -d -r1.1360 -r1.1361
--- Overview.html 15 Sep 2008 11:47:56 -0000 1.1360
+++ Overview.html 16 Sep 2008 00:24:01 -0000 1.1361
@@ -27,7 +27,7 @@
     for HTML and XHTML</h2>
 
    <h2 class="no-num no-toc" id=editors0><!-- "W3C Working Draft" -->
-    Editor's Draft <!--ZZZ-->15 September 2008</h2>
+    Editor's Draft <!--ZZZ-->16 September 2008</h2>
 
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
@@ -199,7 +199,7 @@
 
   <p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working Group</a> is
    the W3C working group responsible for this specification's progress along
-   the W3C Recommendation track. <!--ZZZ:--> This specification is the 15
+   the W3C Recommendation track. <!--ZZZ:--> This specification is the 16
    September 2008 <!--ZZZ "Working Draft"-->Editor's Draft. <!--:ZZZ--></p>
   <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST -->
   <!-- relationship to other work (required) -->
@@ -1073,8 +1073,18 @@
        <li><a href="#attributes2"><span class=secno>4.9.14 </span>Attributes
         for form submission</a>
 
-       <li><a href="#constraint"><span class=secno>4.9.15 </span>Constraint
-        validation</a>
+       <li><a href="#constraints"><span class=secno>4.9.15
+        </span>Constraints</a>
+        <ul class=toc>
+         <li><a href="#definitions"><span class=secno>4.9.15.1.
+          </span>Definitions</a>
+
+         <li><a href="#constraint"><span class=secno>4.9.15.2.
+          </span>Constraint validation</a>
+
+         <li><a href="#the-constraint"><span class=secno>4.9.15.3. </span>The
+          constraint validation API</a>
+        </ul>
 
        <li><a href="#form-submission"><span class=secno>4.9.16 </span>Form
         submission</a>
@@ -26783,11 +26793,11 @@
 
   readonly attribute <a href="#htmlformcontrolscollection0">HTMLFormControlsCollection</a> <a href="#elements4" title=dom-fieldset-elements>elements</a>;
 
-  readonly attribute boolean <span title=dom-fieldset-willValidate>willValidate</span>;
-  readonly attribute <span>ValidityState</span> <span title=dom-fieldset-validity>validity</span>;
-  readonly attribute DOMString <span title=dom-fieldset-validationMessage>validationMessage</span>;
-  boolean <span title=dom-fieldset-checkValidatity>checkValidity</span>();
-  void <span title=dom-fieldset-setCustomValidity>setCustomValidity</span>(in DOMString error);
+  readonly attribute boolean <a href="#willvalidate" title=dom-cva-willValidate>willValidate</a>;
+  readonly attribute <span>ValidityState</span> <a href="#validity" title=dom-cva-validity>validity</a>;
+  readonly attribute DOMString <a href="#validationmessage" title=dom-cva-validationMessage>validationMessage</a>;
+  boolean <a href="#checkvalidity0" title=dom-cva-checkValidatity>checkValidity</a>();
+  void <a href="#setcustomvalidity" title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
 };</pre>
   </dl>
 
@@ -26826,7 +26836,16 @@
    href="#listed" title=category-listed>listed</a> elements that are
    descendants of the <code><a href="#fieldset">fieldset</a></code> element.
 
-  <p class=big-issue>...
+  <p>The <code title=dom-cva-willValidate><a
+   href="#willvalidate">willValidate</a></code>, <code
+   title=dom-cva-validity><a href="#validity">validity</a></code>, and <code
+   title=dom-cva-validationMessage><a
+   href="#validationmessage">validationMessage</a></code> attributes, and the
+   <code title=dom-cva-checkValidatity><a
+   href="#checkvalidity0">checkValidity()</a></code> and <code
+   title=dom-cva-setCustomValidity><a
+   href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
+   of the <a href="#constraint0">constraint validation API</a>.
 
   <h4 id=the-input><span class=secno>4.9.3 </span>The <dfn
    id=input0><code>input</code></dfn> element</h4>
@@ -26944,11 +26963,11 @@
   void <span title=dom-input-stepUp>stepUp</span>(in int n);
   void <span title=dom-input-stepDown>stepDown</span>(in int n);
 
-  readonly attribute boolean <span title=dom-input-willValidate>willValidate</span>;
-  readonly attribute <span>ValidityState</span> <span title=dom-input-validity>validity</span>;
-  readonly attribute DOMString <span title=dom-input-validationMessage>validationMessage</span>;
-  boolean <span title=dom-input-checkValidatity>checkValidity</span>();
-  void <span title=dom-input-setCustomValidity>setCustomValidity</span>(in DOMString error);
+  readonly attribute boolean <a href="#willvalidate" title=dom-cva-willValidate>willValidate</a>;
+  readonly attribute <span>ValidityState</span> <a href="#validity" title=dom-cva-validity>validity</a>;
+  readonly attribute DOMString <a href="#validationmessage" title=dom-cva-validationMessage>validationMessage</a>;
+  boolean <a href="#checkvalidity0" title=dom-cva-checkValidatity>checkValidity</a>();
+  void <a href="#setcustomvalidity" title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
 };</pre>
   </dl>
   <!-- XXX add selectionStart and company -->
@@ -26973,6 +26992,17 @@
 rel="" on submit buttons?
 -->
 
+  <p>The <code title=dom-cva-willValidate><a
+   href="#willvalidate">willValidate</a></code>, <code
+   title=dom-cva-validity><a href="#validity">validity</a></code>, and <code
+   title=dom-cva-validationMessage><a
+   href="#validationmessage">validationMessage</a></code> attributes, and the
+   <code title=dom-cva-checkValidatity><a
+   href="#checkvalidity0">checkValidity()</a></code> and <code
+   title=dom-cva-setCustomValidity><a
+   href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
+   of the <a href="#constraint0">constraint validation API</a>.
+
   <h4 id=the-button><span class=secno>4.9.4 </span>The <dfn
    id=button><code>button</code></dfn> element</h4>
 
@@ -27035,11 +27065,11 @@
 
   readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <span title=dom-button-labels>labels</span>;
 
-  readonly attribute boolean <span title=dom-button-willValidate>willValidate</span>;
-  readonly attribute <span>ValidityState</span> <span title=dom-button-validity>validity</span>;
-  readonly attribute DOMString <span title=dom-button-validationMessage>validationMessage</span>;
-  boolean <span title=dom-button-checkValidatity>checkValidity</span>();
-  void <span title=dom-button-setCustomValidity>setCustomValidity</span>(in DOMString error);
+  readonly attribute boolean <a href="#willvalidate" title=dom-cva-willValidate>willValidate</a>;
+  readonly attribute <span>ValidityState</span> <a href="#validity" title=dom-cva-validity>validity</a>;
+  readonly attribute DOMString <a href="#validationmessage" title=dom-cva-validationMessage>validationMessage</a>;
+  boolean <a href="#checkvalidity0" title=dom-cva-checkValidatity>checkValidity</a>();
+  void <a href="#setcustomvalidity" title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
 };</pre>
   </dl>
 
@@ -27051,6 +27081,17 @@
    href="#form-owner">form owner</a>. The <code title=attr-fe-name><a
    href="#name11">name</a></code> attribute represents the element's name.
 
+  <p>The <code title=dom-cva-willValidate><a
+   href="#willvalidate">willValidate</a></code>, <code
+   title=dom-cva-validity><a href="#validity">validity</a></code>, and <code
+   title=dom-cva-validationMessage><a
+   href="#validationmessage">validationMessage</a></code> attributes, and the
+   <code title=dom-cva-checkValidatity><a
+   href="#checkvalidity0">checkValidity()</a></code> and <code
+   title=dom-cva-setCustomValidity><a
+   href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
+   of the <a href="#constraint0">constraint validation API</a>.
+
   <h4 id=the-label><span class=secno>4.9.5 </span>The <dfn
    id=label><code>label</code></dfn> element</h4>
 
@@ -27165,11 +27206,11 @@
   void <span title=dom-select-add>add</span>(in <a href="#htmlelement">HTMLElement</a> element, in <a href="#htmlelement">HTMLElement</a> before);
   void <span title=dom-select-remove>remove</span>(in long index);
 
-  readonly attribute boolean <span title=dom-select-willValidate>willValidate</span>;
-  readonly attribute <span>ValidityState</span> <span title=dom-select-validity>validity</span>;
-  readonly attribute DOMString <span title=dom-select-validationMessage>validationMessage</span>;
-  boolean <span title=dom-select-checkValidatity>checkValidity</span>();
-  void <span title=dom-select-setCustomValidity>setCustomValidity</span>(in DOMString error);
+  readonly attribute boolean <a href="#willvalidate" title=dom-cva-willValidate>willValidate</a>;
+  readonly attribute <span>ValidityState</span> <a href="#validity" title=dom-cva-validity>validity</a>;
+  readonly attribute DOMString <a href="#validationmessage" title=dom-cva-validationMessage>validationMessage</a>;
+  boolean <a href="#checkvalidity0" title=dom-cva-checkValidatity>checkValidity</a>();
+  void <a href="#setcustomvalidity" title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
 };</pre>
   </dl>
 
@@ -27181,6 +27222,17 @@
    href="#form-owner">form owner</a>. The <code title=attr-fe-name><a
    href="#name11">name</a></code> attribute represents the element's name.
 
+  <p>The <code title=dom-cva-willValidate><a
+   href="#willvalidate">willValidate</a></code>, <code
+   title=dom-cva-validity><a href="#validity">validity</a></code>, and <code
+   title=dom-cva-validationMessage><a
+   href="#validationmessage">validationMessage</a></code> attributes, and the
+   <code title=dom-cva-checkValidatity><a
+   href="#checkvalidity0">checkValidity()</a></code> and <code
+   title=dom-cva-setCustomValidity><a
+   href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
+   of the <a href="#constraint0">constraint validation API</a>.
+
   <h4 id=the-datalist><span class=secno>4.9.7 </span>The <dfn
    id=datalist><code>datalist</code></dfn> element</h4>
 
@@ -27391,11 +27443,11 @@
 
   readonly attribute <a href="#htmlcollection0">HTMLCollection</a> <span title=dom-textarea-labels>labels</span>;
 
-  readonly attribute boolean <span title=dom-textarea-willValidate>willValidate</span>;
-  readonly attribute <span>ValidityState</span> <span title=dom-textarea-validity>validity</span>;
-  readonly attribute DOMString <span title=dom-textarea-validationMessage>validationMessage</span>;
-  boolean <span title=dom-textarea-checkValidatity>checkValidity</span>();
-  void <span title=dom-textarea-setCustomValidity>setCustomValidity</span>(in DOMString error);
+  readonly attribute boolean <a href="#willvalidate" title=dom-cva-willValidate>willValidate</a>;
+  readonly attribute <span>ValidityState</span> <a href="#validity" title=dom-cva-validity>validity</a>;
+  readonly attribute DOMString <a href="#validationmessage" title=dom-cva-validationMessage>validationMessage</a>;
+  boolean <a href="#checkvalidity0" title=dom-cva-checkValidatity>checkValidity</a>();
+  void <a href="#setcustomvalidity" title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
 };</pre>
   </dl>
   <!-- XXX add selectionStart and company -->
@@ -27408,6 +27460,17 @@
    href="#form-owner">form owner</a>. The <code title=attr-fe-name><a
    href="#name11">name</a></code> attribute represents the element's name.
 
+  <p>The <code title=dom-cva-willValidate><a
+   href="#willvalidate">willValidate</a></code>, <code
+   title=dom-cva-validity><a href="#validity">validity</a></code>, and <code
+   title=dom-cva-validationMessage><a
+   href="#validationmessage">validationMessage</a></code> attributes, and the
+   <code title=dom-cva-checkValidatity><a
+   href="#checkvalidity0">checkValidity()</a></code> and <code
+   title=dom-cva-setCustomValidity><a
+   href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
+   of the <a href="#constraint0">constraint validation API</a>.
+
   <h4 id=the-output><span class=secno>4.9.11 </span>The <dfn
    id=output><code>output</code></dfn> element</h4>
 
@@ -27449,11 +27512,11 @@
            attribute DOMString <span title=dom-output-defaultValue>defaultValue</span>;
            attribute DOMString <span title=dom-output-value>value</span>;
 
-  readonly attribute boolean <span title=dom-output-willValidate>willValidate</span>;
-  readonly attribute <span>ValidityState</span> <span title=dom-output-validity>validity</span>;
-  readonly attribute DOMString <span title=dom-output-validationMessage>validationMessage</span>;
-  boolean <span title=dom-output-checkValidatity>checkValidity</span>();
-  void <span title=dom-output-setCustomValidity>setCustomValidity</span>(in DOMString error);
+  readonly attribute boolean <a href="#willvalidate" title=dom-cva-willValidate>willValidate</a>;
+  readonly attribute <span>ValidityState</span> <a href="#validity" title=dom-cva-validity>validity</a>;
+  readonly attribute DOMString <a href="#validationmessage" title=dom-cva-validationMessage>validationMessage</a>;
+  boolean <a href="#checkvalidity0" title=dom-cva-checkValidatity>checkValidity</a>();
+  void <a href="#setcustomvalidity" title=dom-cva-setCustomValidity>setCustomValidity</a>(in DOMString error);
 };</pre>
   </dl>
 
@@ -27465,6 +27528,17 @@
    href="#form-owner">form owner</a>. The <code title=attr-fe-name><a
    href="#name11">name</a></code> attribute represents the element's name.
 
+  <p>The <code title=dom-cva-willValidate><a
+   href="#willvalidate">willValidate</a></code>, <code
+   title=dom-cva-validity><a href="#validity">validity</a></code>, and <code
+   title=dom-cva-validationMessage><a
+   href="#validationmessage">validationMessage</a></code> attributes, and the
+   <code title=dom-cva-checkValidatity><a
+   href="#checkvalidity0">checkValidity()</a></code> and <code
+   title=dom-cva-setCustomValidity><a
+   href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
+   of the <a href="#constraint0">constraint validation API</a>.
+
   <h4 id=association><span class=secno>4.9.12 </span>Association of controls
    and forms</h4>
   <!-- XXX consider xreffing the 'ID' term in this section -->
@@ -27638,7 +27712,9 @@
    attributes on the buttons, when omitted, default to the values given on
    the corresponding the <code><a href="#form">form</a></code> element.
 
-  <h4 id=constraint><span class=secno>4.9.15 </span>Constraint validation</h4>
+  <h4 id=constraints><span class=secno>4.9.15 </span>Constraints</h4>
+
+  <h5 id=definitions><span class=secno>4.9.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:
@@ -27650,7 +27726,7 @@
   <p class=big-issue>An element <dfn id=satisfies
    title=concept-fv-valid>satisfies its constraints</dfn> if ...
 
-  <hr>
+  <h5 id=constraint><span class=secno>4.9.15.2. </span>Constraint validation</h5>
 
   <p>When the user agent is required to <dfn id=statically>statically
    validate the constraints</dfn> of <code><a href="#form">form</a></code>
@@ -27752,6 +27828,19 @@
     <p>Return a <i>negative</i> result.
   </ol>
 
+  <h5 id=the-constraint><span class=secno>4.9.15.3. </span>The <dfn
+   id=constraint0>constraint validation API</dfn></h5>
+
+  <p class=big-issue><dfn id=willvalidate
+   title=dom-cva-willValidate><code>willValidate</code></dfn> <dfn
+   id=validity title=dom-cva-validity><code>validity</code></dfn> <dfn
+   id=validationmessage
+   title=dom-cva-validationMessage><code>validationMessage</code></dfn> <dfn
+   id=checkvalidity0
+   title=dom-cva-checkValidatity><code>checkValidity()</code></dfn> <dfn
+   id=setcustomvalidity
+   title=dom-cva-setCustomValidity><code>setCustomValidity()</code></dfn>
+
   <h4 id=form-submission><span class=secno>4.9.16 </span>Form submission</h4>
   <!-- XXX http://lxr.mozilla.org/mozilla/source/content/html/content/src/nsHTMLFormElement.cpp -->

Received on Tuesday, 16 September 2008 00:28:33 UTC