[html5] r2188 - [] (0) WF2: Cross-refence the Constraint Validation API attributes and methods i [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 15 17:23:57 PDT 2008


Author: ianh
Date: 2008-09-15 17:23:56 -0700 (Mon, 15 Sep 2008)
New Revision: 2188

Modified:
   index
   source
Log:
[] (0) WF2: Cross-refence the Constraint Validation API attributes and methods into their own dedicated section.

Modified: index
===================================================================
--- index	2008-09-15 11:47:52 UTC (rev 2187)
+++ index	2008-09-16 00:23:56 UTC (rev 2188)
@@ -29,7 +29,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 15
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 16
     September 2008</h2>
 
    <p>You can take part in this work. <a
@@ -1066,9 +1066,19 @@
        <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>
         <ul class=toc>
@@ -26776,11 +26786,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>
 
@@ -26819,7 +26829,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>
@@ -26937,11 +26956,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 -->
@@ -26966,6 +26985,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>
 
@@ -27028,11 +27058,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>
 
@@ -27044,6 +27074,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>
 
@@ -27158,11 +27199,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>
 
@@ -27174,6 +27215,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>
 
@@ -27384,11 +27436,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 -->
@@ -27401,6 +27453,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>
 
@@ -27442,11 +27505,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>
 
@@ -27458,6 +27521,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 -->
@@ -27631,8 +27705,10 @@
    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:
 
@@ -27643,7 +27719,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>
@@ -27745,6 +27821,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 -->
 

Modified: source
===================================================================
--- source	2008-09-15 11:47:52 UTC (rev 2187)
+++ source	2008-09-16 00:23:56 UTC (rev 2188)
@@ -24108,11 +24108,11 @@
 
   readonly attribute <span>HTMLFormControlsCollection</span> <span title="dom-fieldset-elements">elements</span>;
 
-  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 <span title="dom-cva-willValidate">willValidate</span>;
+  readonly attribute <span>ValidityState</span> <span title="dom-cva-validity">validity</span>;
+  readonly attribute DOMString <span title="dom-cva-validationMessage">validationMessage</span>;
+  boolean <span title="dom-cva-checkValidatity">checkValidity</span>();
+  void <span title="dom-cva-setCustomValidity">setCustomValidity</span>(in DOMString error);
 };</pre>
    </dd> 
   </dl>
@@ -24151,7 +24151,14 @@
   title="category-listed">listed</span> elements that are descendants
   of the <code>fieldset</code> element.</p>
 
-  <p class="big-issue">...</p>
+  <p>The <code title="dom-cva-willValidate">willValidate</code>,
+  <code title="dom-cva-validity">validity</code>, and <code
+  title="dom-cva-validationMessage">validationMessage</code>
+  attributes, and the <code
+  title="dom-cva-checkValidatity">checkValidity()</code> and
+  <code
+  title="dom-cva-setCustomValidity">setCustomValidity()</code>
+  methods, are part of the <span>constraint validation API</span>.</p>
 
 
 
@@ -24231,11 +24238,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 <span title="dom-cva-willValidate">willValidate</span>;
+  readonly attribute <span>ValidityState</span> <span title="dom-cva-validity">validity</span>;
+  readonly attribute DOMString <span title="dom-cva-validationMessage">validationMessage</span>;
+  boolean <span title="dom-cva-checkValidatity">checkValidity</span>();
+  void <span title="dom-cva-setCustomValidity">setCustomValidity</span>(in DOMString error);
 };</pre>
    </dd> 
   </dl>
@@ -24259,8 +24266,17 @@
 rel="" on submit buttons?
 -->
 
+  <p>The <code title="dom-cva-willValidate">willValidate</code>,
+  <code title="dom-cva-validity">validity</code>, and <code
+  title="dom-cva-validationMessage">validationMessage</code>
+  attributes, and the <code
+  title="dom-cva-checkValidatity">checkValidity()</code> and
+  <code
+  title="dom-cva-setCustomValidity">setCustomValidity()</code>
+  methods, are part of the <span>constraint validation API</span>.</p>
 
 
+
   <h4>The <dfn><code>button</code></dfn> element</h4>
 
   <dl class="element">
@@ -24299,11 +24315,11 @@
 
   readonly attribute <span>HTMLCollection</span> <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 <span title="dom-cva-willValidate">willValidate</span>;
+  readonly attribute <span>ValidityState</span> <span title="dom-cva-validity">validity</span>;
+  readonly attribute DOMString <span title="dom-cva-validationMessage">validationMessage</span>;
+  boolean <span title="dom-cva-checkValidatity">checkValidity</span>();
+  void <span title="dom-cva-setCustomValidity">setCustomValidity</span>(in DOMString error);
 };</pre>
    </dd> 
   </dl>
@@ -24315,8 +24331,17 @@
   <span>form owner</span>. The <code title="attr-fe-name">name</code>
   attribute represents the element's name.</p>
 
+  <p>The <code title="dom-cva-willValidate">willValidate</code>,
+  <code title="dom-cva-validity">validity</code>, and <code
+  title="dom-cva-validationMessage">validationMessage</code>
+  attributes, and the <code
+  title="dom-cva-checkValidatity">checkValidity()</code> and
+  <code
+  title="dom-cva-setCustomValidity">setCustomValidity()</code>
+  methods, are part of the <span>constraint validation API</span>.</p>
 
 
+
   <h4>The <dfn><code>label</code></dfn> element</h4>
 
   <dl class="element">
@@ -24397,11 +24422,11 @@
   void <span title="dom-select-add">add</span>(in <span>HTMLElement</span> element, in <span>HTMLElement</span> 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 <span title="dom-cva-willValidate">willValidate</span>;
+  readonly attribute <span>ValidityState</span> <span title="dom-cva-validity">validity</span>;
+  readonly attribute DOMString <span title="dom-cva-validationMessage">validationMessage</span>;
+  boolean <span title="dom-cva-checkValidatity">checkValidity</span>();
+  void <span title="dom-cva-setCustomValidity">setCustomValidity</span>(in DOMString error);
 };</pre>
    </dd> 
   </dl>
@@ -24413,8 +24438,17 @@
   <span>form owner</span>. The <code title="attr-fe-name">name</code>
   attribute represents the element's name.</p>
 
+  <p>The <code title="dom-cva-willValidate">willValidate</code>,
+  <code title="dom-cva-validity">validity</code>, and <code
+  title="dom-cva-validationMessage">validationMessage</code>
+  attributes, and the <code
+  title="dom-cva-checkValidatity">checkValidity()</code> and
+  <code
+  title="dom-cva-setCustomValidity">setCustomValidity()</code>
+  methods, are part of the <span>constraint validation API</span>.</p>
 
 
+
   <h4>The <dfn><code>datalist</code></dfn> element</h4>
 
   <dl class="element">
@@ -24560,11 +24594,11 @@
 
   readonly attribute <span>HTMLCollection</span> <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 <span title="dom-cva-willValidate">willValidate</span>;
+  readonly attribute <span>ValidityState</span> <span title="dom-cva-validity">validity</span>;
+  readonly attribute DOMString <span title="dom-cva-validationMessage">validationMessage</span>;
+  boolean <span title="dom-cva-checkValidatity">checkValidity</span>();
+  void <span title="dom-cva-setCustomValidity">setCustomValidity</span>(in DOMString error);
 };</pre>
    </dd> 
   </dl>
@@ -24578,8 +24612,17 @@
   <span>form owner</span>. The <code title="attr-fe-name">name</code>
   attribute represents the element's name.</p>
 
+  <p>The <code title="dom-cva-willValidate">willValidate</code>,
+  <code title="dom-cva-validity">validity</code>, and <code
+  title="dom-cva-validationMessage">validationMessage</code>
+  attributes, and the <code
+  title="dom-cva-checkValidatity">checkValidity()</code> and
+  <code
+  title="dom-cva-setCustomValidity">setCustomValidity()</code>
+  methods, are part of the <span>constraint validation API</span>.</p>
 
 
+
   <h4>The <dfn><code>output</code></dfn> element</h4>
 
   <dl class="element">
@@ -24605,11 +24648,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 <span title="dom-cva-willValidate">willValidate</span>;
+  readonly attribute <span>ValidityState</span> <span title="dom-cva-validity">validity</span>;
+  readonly attribute DOMString <span title="dom-cva-validationMessage">validationMessage</span>;
+  boolean <span title="dom-cva-checkValidatity">checkValidity</span>();
+  void <span title="dom-cva-setCustomValidity">setCustomValidity</span>(in DOMString error);
 };</pre>
    </dd> 
   </dl>
@@ -24621,8 +24664,17 @@
   <span>form owner</span>. The <code title="attr-fe-name">name</code>
   attribute represents the element's name.</p>
 
+  <p>The <code title="dom-cva-willValidate">willValidate</code>,
+  <code title="dom-cva-validity">validity</code>, and <code
+  title="dom-cva-validationMessage">validationMessage</code>
+  attributes, and the <code
+  title="dom-cva-checkValidatity">checkValidity()</code> and
+  <code
+  title="dom-cva-setCustomValidity">setCustomValidity()</code>
+  methods, are part of the <span>constraint validation API</span>.</p>
 
 
+
   <h4>Association of controls and forms</h4>
 
   <!-- XXX consider xreffing the 'ID' term in this section -->
@@ -24774,8 +24826,10 @@
   
 
 
-  <h4>Constraint validation</h4>
+  <h4>Constraints</h4>
 
+  <h5>Definitions</h5>
+
   <p>An element is a <dfn>candidate for constraint validation</dfn> if
   the following conditions apply for that element:</p>
 
@@ -24788,8 +24842,10 @@
   <p class="big-issue">An element <dfn
   title="concept-fv-valid">satisfies its constraints</dfn> if ...</p>
 
-  <hr>
 
+
+  <h5>Constraint validation</h5>
+
   <p>When the user agent is required to <dfn>statically validate the
   constraints</dfn> of <code>form</code> element <var
   title="">form</var>, it must run the following steps, which return
@@ -24894,6 +24950,19 @@
   </ol>
 
 
+
+  <h5>The <dfn>constraint validation API</dfn></h5>
+
+  <p class="big-issue"><dfn
+  title="dom-cva-willValidate"><code>willValidate</code></dfn> <dfn
+  title="dom-cva-validity"><code>validity</code></dfn> <dfn
+  title="dom-cva-validationMessage"><code>validationMessage</code></dfn>
+  <dfn
+  title="dom-cva-checkValidatity"><code>checkValidity()</code></dfn>
+  <dfn
+  title="dom-cva-setCustomValidity"><code>setCustomValidity()</code></dfn></p>
+
+
   <h4>Form submission</h4>
 
   <!-- XXX http://lxr.mozilla.org/mozilla/source/content/html/content/src/nsHTMLFormElement.cpp -->




More information about the Commit-Watchers mailing list