[html5] r7162 - [giow] (3) Further approach reality when it comes to implicit form submission wi [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Jun 29 14:24:16 PDT 2012


Author: ianh
Date: 2012-06-29 14:24:15 -0700 (Fri, 29 Jun 2012)
New Revision: 7162

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Further approach reality when it comes to implicit form submission with two or more controls.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-06-29 20:46:47 UTC (rev 7161)
+++ complete.html	2012-06-29 21:24:15 UTC (rev 7162)
@@ -55291,12 +55291,34 @@
   submitted when such an implicit submission mechanism is used. (A
   button has no <a href=#activation-behavior>activation behavior</a> when disabled.)</p>
 
-  <p>If the form has no <a href=#concept-submit-button title=concept-submit-button>submit
-  button</a>, then the implicit submission mechanism must just
+  <p><!-- For Web compatibility reasons caused by obscure historical
+  accidents, -->If the form has no <a href=#concept-submit-button title=concept-submit-button>submit button</a>, then the
+  implicit submission mechanism must do nothing if the form has more
+  than one <i>field that blocks implicit submission</i>, and must
   <a href=#concept-form-submit title=concept-form-submit>submit</a> the
-  <code><a href=#the-form-element>form</a></code> element from the <code><a href=#the-form-element>form</a></code> element
-  itself.</p>
+  <code><a href=#the-form-element>form</a></code> element from the <code><a href=#the-form-element>form</a></code> element itself
+  otherwise.</p>
 
+  <p>For the purpose of the previous paragraph, an element is a
+  <i>field that blocks implicit submission</i> of a <code><a href=#the-form-element>form</a></code>
+  element if it is an <code><a href=#the-input-element>input</a></code> element whose <a href=#form-owner>form
+  owner</a> is that <code><a href=#the-form-element>form</a></code> element and whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in one of the
+  following states:
+  <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>,
+  <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>,
+  <a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>,
+  <a href="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</a>,
+  <a href="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</a>,
+  <a href="#password-state-(type=password)" title=attr-input-type-password>Password</a>,
+  <a href="#date-and-time-state-(type=datetime)" title=attr-input-type-datetime>Date and Time</a>,
+  <a href="#date-state-(type=date)" title=attr-input-type-date>Date</a>,
+  <a href="#month-state-(type=month)" title=attr-input-type-month>Month</a>,
+  <a href="#week-state-(type=week)" title=attr-input-type-week>Week</a>,
+  <a href="#time-state-(type=time)" title=attr-input-type-time>Time</a>,
+  <a href="#local-date-and-time-state-(type=datetime-local)" title=attr-input-type-datetime-local>Local Date and Time</a>,
+  <a href="#number-state-(type=number)" title=attr-input-type-number>Number</a>
+  </p>
+
   </div>
 
 

Modified: index
===================================================================
--- index	2012-06-29 20:46:47 UTC (rev 7161)
+++ index	2012-06-29 21:24:15 UTC (rev 7162)
@@ -55291,12 +55291,34 @@
   submitted when such an implicit submission mechanism is used. (A
   button has no <a href=#activation-behavior>activation behavior</a> when disabled.)</p>
 
-  <p>If the form has no <a href=#concept-submit-button title=concept-submit-button>submit
-  button</a>, then the implicit submission mechanism must just
+  <p><!-- For Web compatibility reasons caused by obscure historical
+  accidents, -->If the form has no <a href=#concept-submit-button title=concept-submit-button>submit button</a>, then the
+  implicit submission mechanism must do nothing if the form has more
+  than one <i>field that blocks implicit submission</i>, and must
   <a href=#concept-form-submit title=concept-form-submit>submit</a> the
-  <code><a href=#the-form-element>form</a></code> element from the <code><a href=#the-form-element>form</a></code> element
-  itself.</p>
+  <code><a href=#the-form-element>form</a></code> element from the <code><a href=#the-form-element>form</a></code> element itself
+  otherwise.</p>
 
+  <p>For the purpose of the previous paragraph, an element is a
+  <i>field that blocks implicit submission</i> of a <code><a href=#the-form-element>form</a></code>
+  element if it is an <code><a href=#the-input-element>input</a></code> element whose <a href=#form-owner>form
+  owner</a> is that <code><a href=#the-form-element>form</a></code> element and whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in one of the
+  following states:
+  <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>,
+  <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>,
+  <a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>,
+  <a href="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</a>,
+  <a href="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</a>,
+  <a href="#password-state-(type=password)" title=attr-input-type-password>Password</a>,
+  <a href="#date-and-time-state-(type=datetime)" title=attr-input-type-datetime>Date and Time</a>,
+  <a href="#date-state-(type=date)" title=attr-input-type-date>Date</a>,
+  <a href="#month-state-(type=month)" title=attr-input-type-month>Month</a>,
+  <a href="#week-state-(type=week)" title=attr-input-type-week>Week</a>,
+  <a href="#time-state-(type=time)" title=attr-input-type-time>Time</a>,
+  <a href="#local-date-and-time-state-(type=datetime-local)" title=attr-input-type-datetime-local>Local Date and Time</a>,
+  <a href="#number-state-(type=number)" title=attr-input-type-number>Number</a>
+  </p>
+
   </div>
 
 

Modified: source
===================================================================
--- source	2012-06-29 20:46:47 UTC (rev 7161)
+++ source	2012-06-29 21:24:15 UTC (rev 7162)
@@ -64557,12 +64557,36 @@
   submitted when such an implicit submission mechanism is used. (A
   button has no <span>activation behavior</span> when disabled.)</p>
 
-  <p>If the form has no <span title="concept-submit-button">submit
-  button</span>, then the implicit submission mechanism must just
+  <p><!-- For Web compatibility reasons caused by obscure historical
+  accidents, -->If the form has no <span
+  title="concept-submit-button">submit button</span>, then the
+  implicit submission mechanism must do nothing if the form has more
+  than one <i>field that blocks implicit submission</i>, and must
   <span title="concept-form-submit">submit</span> the
-  <code>form</code> element from the <code>form</code> element
-  itself.</p>
+  <code>form</code> element from the <code>form</code> element itself
+  otherwise.</p>
 
+  <p>For the purpose of the previous paragraph, an element is a
+  <i>field that blocks implicit submission</i> of a <code>form</code>
+  element if it is an <code>input</code> element whose <span>form
+  owner</span> is that <code>form</code> element and whose <code
+  title="attr-input-type">type</code> attribute is in one of the
+  following states:
+  <span title="attr-input-type-text">Text</span>,
+  <span title="attr-input-type-search">Search</span>,
+  <span title="attr-input-type-url">URL</span>,
+  <span title="attr-input-type-tel">Telephone</span>,
+  <span title="attr-input-type-email">E-mail</span>,
+  <span title="attr-input-type-password">Password</span>,
+  <span title="attr-input-type-datetime">Date and Time</span>,
+  <span title="attr-input-type-date">Date</span>,
+  <span title="attr-input-type-month">Month</span>,
+  <span title="attr-input-type-week">Week</span>,
+  <span title="attr-input-type-time">Time</span>,
+  <span title="attr-input-type-datetime-local">Local Date and Time</span>,
+  <span title="attr-input-type-number">Number</span>
+  </p>
+
   </div>
 
 




More information about the Commit-Watchers mailing list