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

hixie: Ban the attributes for form submission on non-submit <button>s. (whatwg r4677)

From: poot <cvsmail@w3.org>
Date: Sat, 6 Feb 2010 11:03:30 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100206020331.390632BC39@toro.w3.mag.keio.ac.jp>
hixie: Ban the attributes for form submission on non-submit <button>s.
(whatwg r4677)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3730&r2=1.3731&f=h
http://html5.org/tools/web-apps-tracker?from=4676&to=4677

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3730
retrieving revision 1.3731
diff -u -d -r1.3730 -r1.3731
--- Overview.html	6 Feb 2010 01:58:08 -0000	1.3730
+++ Overview.html	6 Feb 2010 02:03:19 -0000	1.3731
@@ -29602,7 +29602,10 @@
   attribute controls focus. 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> attributes are
   <a href="#attributes-for-form-submission">attributes for form submission</a>.<p class="note">The <code title="attr-fs-formnovalidate"><a href="#attr-fs-formnovalidate">formnovalidate</a></code> attribute can
   be used to make submit buttons that do not trigger the constraint
-  validation.<p>The <dfn id="attr-button-value" title="attr-button-value"><code>value</code></dfn>
+  validation.<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>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
   <code title="attr-button-value"><a href="#attr-button-value">value</a></code> attribute, if there is
Received on Saturday, 6 February 2010 02:03:59 GMT

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