- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 19 Sep 2008 09:11:32 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv21327
Modified Files:
Overview.html
Log Message:
WF2: Define 'candidate for constraint validation'. (whatwg r2222)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1394
retrieving revision 1.1395
diff -u -d -r1.1394 -r1.1395
--- Overview.html 19 Sep 2008 08:47:52 -0000 1.1394
+++ Overview.html 19 Sep 2008 09:11:30 -0000 1.1395
@@ -27842,6 +27842,10 @@
href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
of the <a href="#constraint0">constraint validation API</a>.
+ <p><strong>Constraint validation:</strong> <code><a
+ href="#fieldset">fieldset</a></code> elements are always <span>barred from
+ constraint validation</span>.
+
<h4 id=the-label><span class=secno>4.10.3 </span>The <dfn
id=label><code>label</code></dfn> element</h4>
@@ -29946,6 +29950,12 @@
<p class=big-issue>...
+ <p><strong>Constraint validation:</strong> If an <code><a
+ href="#input0">input</a></code> element's <code title=attr-input-type><a
+ href="#type14">type</a></code> attribute is in the <a href="#hidden1"
+ title=attr-input-type-hidden>Hidden</a> state, it is <span>barred from
+ constraint validation</span>.
+
<h6 id=submit><span class=secno>4.10.4.1.17. </span><dfn id=submit2
title=attr-input-type-submit>Submit Button</dfn> state</h6>
@@ -29985,6 +29995,12 @@
<p class=big-issue>...
+ <p><strong>Constraint validation:</strong> If an <code><a
+ href="#input0">input</a></code> element's <code title=attr-input-type><a
+ href="#type14">type</a></code> attribute is in the <a href="#reset2"
+ title=attr-input-type-reset>Reset Button</a> state, it is <span>barred
+ from constraint validation</span>.
+
<h6 id=button><span class=secno>4.10.4.1.20. </span><dfn id=button1
title=attr-input-type-button>Button</dfn> state</h6>
@@ -29996,6 +30012,12 @@
<p class=big-issue>...
+ <p><strong>Constraint validation:</strong> If an <code><a
+ href="#input0">input</a></code> element's <code title=attr-input-type><a
+ href="#type14">type</a></code> attribute is in the <a href="#button1"
+ title=attr-input-type-button>Button</a> state, it is <span>barred from
+ constraint validation</span>.
+
<h6 id=common3><span class=secno>4.10.4.1.21. </span>Common algorithms</h6>
<p>When a user agent is to <dfn id=strip>strip line breaks from the
@@ -30084,6 +30106,11 @@
href="#boolean0">boolean attribute</a>. When specified, the element is <i
title=concept-input-immutable><a href="#immutable">immutable</a></i>.
+ <p><strong>Constraint validation:</strong> If the <code
+ title=attr-input-readonly><a href="#readonly0">readonly</a></code>
+ attribute is specified on an <code><a href="#input0">input</a></code>
+ element, the element is <span>barred from constraint validation</span>.
+
<h5 id=common5><span class=secno>4.10.4.3. </span>Common <code><a
href="#input0">input</a></code> element APIs</h5>
@@ -30391,6 +30418,10 @@
<p class=big-issue>...
+ <p><strong>Constraint validation:</strong> If an element has a <code><a
+ href="#datalist">datalist</a></code> element ancestor, it is <span>barred
+ from constraint validation</span>.
+
<h4 id=the-optgroup><span class=secno>4.10.8 </span>The <dfn
id=optgroup><code>optgroup</code></dfn> element</h4>
@@ -30598,6 +30629,11 @@
href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
of the <a href="#constraint0">constraint validation API</a>.
+ <p><strong>Constraint validation:</strong> If the <code
+ title=attr-textarea-readonly>readonly</code> attribute is specified on a
+ <code><a href="#textarea">textarea</a></code> element, the element is
+ <span>barred from constraint validation</span>.
+
<h4 id=the-output><span class=secno>4.10.11 </span>The <dfn
id=output><code>output</code></dfn> element</h4>
@@ -30666,6 +30702,10 @@
href="#setcustomvalidity">setCustomValidity()</a></code> methods, are part
of the <a href="#constraint0">constraint validation API</a>.
+ <p><strong>Constraint validation:</strong> <code><a
+ href="#output">output</a></code> elements are always <span>barred from
+ constraint validation</span>.
+
<h4 id=association><span class=secno>4.10.12 </span>Association of controls
and forms</h4>
<!-- XXX consider xreffing the 'ID' term in this section -->
@@ -30768,6 +30808,10 @@
getting, must return the element's <a href="#form-owner">form owner</a>,
or null if there isn't one.
+ <p><strong>Constraint validation:</strong> If an element has no <a
+ href="#form-owner">form owner</a>, it is <span>barred from constraint
+ validation</span>.
+
<h4 id=attributes1><span class=secno>4.10.13 </span><dfn
id=attributes4>Attributes common to form controls</dfn></h4>
@@ -30779,6 +30823,12 @@
<p class=big-issue>... <dfn id=name12 title=dom-fe-name>name</dfn> DOM
attribute
+ <p><strong>Constraint validation:</strong> If an element does not have a
+ <code title=attr-fe-name><a href="#name11">name</a></code> attribute
+ specified, or its <code title=attr-fe-name><a
+ href="#name11">name</a></code> attribute's value is the empty string, then
+ it is <span>barred from constraint validation</span>.
+
<h5 id=enabling><span class=secno>4.10.13.2. </span>Enabling and disabling
form controls</h5>
@@ -30793,6 +30843,10 @@
<p class=big-issue>... <dfn id=disabled6
title=dom-fe-disabled>disabled</dfn> DOM attribute
+ <p><strong>Constraint validation:</strong> If an element is <a
+ href="#disabled4" title=concept-fe-disabled>disabled</a>, it is
+ <span>barred from constraint validation</span>.
+
<h5 id=a-form><span class=secno>4.10.13.3. </span>A form control's value</h5>
<p class=big-issue>... <dfn id=value12 title=concept-fe-value>value</dfn></p>
@@ -30899,8 +30953,13 @@
<h5 id=definitions><span class=secno>4.10.15.1. </span>Definitions</h5>
- <p class=big-issue>An element is a <dfn id=candidate>candidate for
- constraint validation</dfn> ...
+ <p>A <a href="#listed" title=category-listed>listed form-associated
+ element</a> is a <dfn id=candidate>candidate for constraint
+ validation</dfn> unless a condition has <dfn id=barred title="barred from
+ constrain validation">barred the element from constraint validation</dfn>.
+ (For example, an element is <span>barred from constraint validation</span>
+ if it is an <code><a href="#output">output</a></code> or <code><a
+ href="#fieldset">fieldset</a></code> element.)
<p class=big-issue>An element <dfn id=satisfies
title=concept-fv-valid>satisfies its constraints</dfn> if ...
@@ -60865,4 +60924,9 @@
XXX * keygen?
XXX * action="" should be defined as not being relative to base URI
see https://bugzilla.mozilla.org/show_bug.cgi?id=297761
+ XXX * rephrase things so that an enumerated attribute puts the _element_ into
+ various states, instead of the attribute
+ XXX * make the text consistent about whether it is ":<em>" and
+ ":<strong>" or "</em>:" and "</strong>:". Same for other
+ punctuation.
-->
Received on Friday, 19 September 2008 09:12:06 UTC