[html5] r4677 - [ac] (0) Ban the attributes for form submission on non-submit <button>s. Fixing [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 5 18:03:16 PST 2010


Author: ianh
Date: 2010-02-05 18:03:14 -0800 (Fri, 05 Feb 2010)
New Revision: 4677

Modified:
   complete.html
   index
   source
Log:
[ac] (0) Ban the attributes for form submission on non-submit <button>s.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8704

Modified: complete.html
===================================================================
--- complete.html	2010-02-06 01:58:02 UTC (rev 4676)
+++ complete.html	2010-02-06 02:03:14 UTC (rev 4677)
@@ -36695,6 +36695,11 @@
   be used to make submit buttons that do not trigger the constraint
   validation.</p>
 
+  <p>The <code title=attr-fs-formaction><a href=#attr-fs-formaction>formaction</a></code>, <code title=attr-fs-formenctype><a href=#attr-fs-formenctype>formenctype</a></code>, <code title=attr-fs-formmethod><a href=#attr-fs-formmethod>formmethod</a></code>, <code title=attr-fs-formnovalidate><a href=#attr-fs-formnovalidate>formnovalidate</a></code>, and <code title=attr-fs-formtarget><a href=#attr-fs-formtarget>formtarget</a></code> must not be specified
+  if the element's <code title=attr-button-type><a href=#attr-button-type>type</a></code>
+  attribute is not in the <a href=#attr-button-type-submit-state title=attr-button-type-submit-state>Submit Button</a>
+  state.</p>
+
   <p>The <dfn id=attr-button-value title=attr-button-value><code>value</code></dfn>
   attribute gives the element's value for the purposes of form
   submission. The element's <a href=#concept-fe-value title=concept-fe-value>value</a> is the value of the element's

Modified: index
===================================================================
--- index	2010-02-06 01:58:02 UTC (rev 4676)
+++ index	2010-02-06 02:03:14 UTC (rev 4677)
@@ -36594,6 +36594,11 @@
   be used to make submit buttons that do not trigger the constraint
   validation.</p>
 
+  <p>The <code title=attr-fs-formaction><a href=#attr-fs-formaction>formaction</a></code>, <code title=attr-fs-formenctype><a href=#attr-fs-formenctype>formenctype</a></code>, <code title=attr-fs-formmethod><a href=#attr-fs-formmethod>formmethod</a></code>, <code title=attr-fs-formnovalidate><a href=#attr-fs-formnovalidate>formnovalidate</a></code>, and <code title=attr-fs-formtarget><a href=#attr-fs-formtarget>formtarget</a></code> must not be specified
+  if the element's <code title=attr-button-type><a href=#attr-button-type>type</a></code>
+  attribute is not in the <a href=#attr-button-type-submit-state title=attr-button-type-submit-state>Submit Button</a>
+  state.</p>
+
   <p>The <dfn id=attr-button-value title=attr-button-value><code>value</code></dfn>
   attribute gives the element's value for the purposes of form
   submission. The element's <a href=#concept-fe-value title=concept-fe-value>value</a> is the value of the element's

Modified: source
===================================================================
--- source	2010-02-06 01:58:02 UTC (rev 4676)
+++ source	2010-02-06 02:03:14 UTC (rev 4677)
@@ -40812,6 +40812,16 @@
   be used to make submit buttons that do not trigger the constraint
   validation.</p>
 
+  <p>The <code title="attr-fs-formaction">formaction</code>, <code
+  title="attr-fs-formenctype">formenctype</code>, <code
+  title="attr-fs-formmethod">formmethod</code>, <code
+  title="attr-fs-formnovalidate">formnovalidate</code>, and <code
+  title="attr-fs-formtarget">formtarget</code> must not be specified
+  if the element's <code title="attr-button-type">type</code>
+  attribute is not in the <span
+  title="attr-button-type-submit-state">Submit Button</span>
+  state.</p>
+
   <p>The <dfn title="attr-button-value"><code>value</code></dfn>
   attribute gives the element's value for the purposes of form
   submission. The element's <span




More information about the Commit-Watchers mailing list