W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2010

hixie: Make even form controls that don't get submitted be checked for validity when the form is submitted. Also, make controls that aren't in a form at all be validatable (e.g. using :valid/:invalid) (whatwg r4976)

From: poot <cvsmail@w3.org>
Date: Tue, 6 Apr 2010 09:52:33 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100406005233.7BF782BC48@toro.w3.mag.keio.ac.jp>
hixie: Make even form controls that don't get submitted be checked for
validity when the form is submitted. Also, make controls that aren't in
a form at all be validatable (e.g. using :valid/:invalid) (whatwg r4976)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3998&r2=1.3999&f=h
http://html5.org/tools/web-apps-tracker?from=4975&to=4976

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3998
retrieving revision 1.3999
diff -u -d -r1.3998 -r1.3999
--- Overview.html	6 Apr 2010 00:43:14 -0000	1.3998
+++ Overview.html	6 Apr 2010 00:52:21 -0000	1.3999
@@ -33198,21 +33198,11 @@
   on getting, must return the element's <a href="#form-owner">form owner</a>, or
   null if there isn't one.</p>
 
-  <p><strong>Constraint validation</strong>: If an element has no
-  <a href="#form-owner">form owner</a>, it is <a href="#barred-from-constraint-validation">barred from constraint
-  validation</a>.</p>
-
   </div><h4 id="attributes-common-to-form-controls"><span class="secno">4.10.19 </span><dfn>Attributes common to form controls</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><h5 id="naming-form-controls"><span class="secno">4.10.19.1 </span>Naming form controls</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <dfn id="attr-fe-name" title="attr-fe-name"><code>name</code></dfn> content
   attribute gives the name of the form control, as used in <a href="#form-submission">form
   submission</a> and in the <code><a href="#the-form-element">form</a></code> element's <code title="dom-form-elements"><a href="#dom-form-elements">elements</a></code> object. If the attribute
   is specified, its value must not be the empty string.<div class="impl">
 
-  <p><strong>Constraint validation</strong>: If an element does not
-  have a <code title="attr-fe-name"><a href="#attr-fe-name">name</a></code> attribute specified,
-  or its <code title="attr-fe-name"><a href="#attr-fe-name">name</a></code> attribute's value is
-  the empty string, then it is <a href="#barred-from-constraint-validation">barred from constraint
-  validation</a>.</p>
-
   <!-- XXX should mention dom-fe-name in the various sections
   defining elements that have it -->
Received on Tuesday, 6 April 2010 00:53:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT