W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2011

html5/spec association-of-controls-and-forms.html,1.59,1.60 spec.html,1.1371,1.1372

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 13 Jan 2011 00:47:15 +0000
To: public-html-commits@w3.org
Message-Id: <E1PdBLX-0004uA-3C@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv18795

Modified Files:
	association-of-controls-and-forms.html spec.html 
Log Message:
make .action and .formAction handle the empty string more like the content attribute gets processed, for sanity (even though that value is technically not valid anyway) (whatwg r5785)

[updated by splitter]


Index: association-of-controls-and-forms.html
===================================================================
RCS file: /sources/public/html5/spec/association-of-controls-and-forms.html,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- association-of-controls-and-forms.html	12 Jan 2011 23:46:40 -0000	1.59
+++ association-of-controls-and-forms.html	13 Jan 2011 00:47:04 -0000	1.60
@@ -639,7 +639,8 @@
   <code><a href="forms.html#the-form-element">form</a></code> element.</p><hr><p>The <dfn id="attr-fs-action" title="attr-fs-action"><code>action</code></dfn> and
   <dfn id="attr-fs-formaction" title="attr-fs-formaction"><code>formaction</code></dfn>
   content attributes, if specified, must have a value that is a
-  <a href="urls.html#valid-url-potentially-surrounded-by-spaces">valid URL potentially surrounded by spaces</a>.</p><p>The <dfn id="concept-fs-action" title="concept-fs-action">action</dfn> of an element is
+  <a href="urls.html#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially surrounded by
+  spaces</a>.</p><p>The <dfn id="concept-fs-action" title="concept-fs-action">action</dfn> of an element is
   the value of the element's <code title="attr-fs-formaction"><a href="#attr-fs-formaction">formaction</a></code> attribute, if the
   element is a <a href="forms.html#concept-submit-button" title="concept-submit-button">submit
   button</a> and has such an attribute, or the value of its
@@ -714,19 +715,23 @@
 
   </div><div class="impl">
 
-  <hr><p>The <dfn id="dom-fs-action" title="dom-fs-action"><code>action</code></dfn> and <dfn id="dom-fs-target" title="dom-fs-target"><code>target</code></dfn> IDL attributes must
-  <a href="common-dom-interfaces.html#reflect">reflect</a> the respective content attributes of the same
-  name. The <dfn id="dom-fs-method" title="dom-fs-method"><code>method</code></dfn> and
-  <dfn id="dom-fs-enctype" title="dom-fs-enctype"><code>enctype</code></dfn> IDL
-  attributes must <a href="common-dom-interfaces.html#reflect">reflect</a> the respective content
-  attributes of the same name, <a href="common-dom-interfaces.html#limited-to-only-known-values">limited to only known
-  values</a>. The <dfn id="dom-fs-encoding" title="dom-fs-encoding"><code>encoding</code></dfn> IDL attribute
+  <hr><p>The <dfn id="dom-fs-action" title="dom-fs-action"><code>action</code></dfn> IDL
+  attribute must <a href="common-dom-interfaces.html#reflect">reflect</a> the content attribute of the
+  same name, except that on getting, when the content attribute is
+  missing or its value is the empty string, <a href="dom.html#the-document-s-address">the document's
+  address</a> must be returned instead. The <dfn id="dom-fs-target" title="dom-fs-target"><code>target</code></dfn> IDL attribute must
+  <a href="common-dom-interfaces.html#reflect">reflect</a> the content attribute of the same name. The
+  <dfn id="dom-fs-method" title="dom-fs-method"><code>method</code></dfn> and <dfn id="dom-fs-enctype" title="dom-fs-enctype"><code>enctype</code></dfn> IDL attributes
+  must <a href="common-dom-interfaces.html#reflect">reflect</a> the respective content attributes of the
+  same name, <a href="common-dom-interfaces.html#limited-to-only-known-values">limited to only known values</a>. The <dfn id="dom-fs-encoding" title="dom-fs-encoding"><code>encoding</code></dfn> IDL attribute
   must <a href="common-dom-interfaces.html#reflect">reflect</a> the <code title="attr-fs-enctype"><a href="#attr-fs-enctype">enctype</a></code> content attribute,
   <a href="common-dom-interfaces.html#limited-to-only-known-values">limited to only known values</a>. The <dfn id="dom-fs-novalidate" title="dom-fs-noValidate"><code>noValidate</code></dfn> IDL
   attribute must reflect the <code title="attr-fs-novalidate"><a href="#attr-fs-novalidate">novalidate</a></code> content attribute. The
   <dfn id="dom-fs-formaction" title="dom-fs-formAction"><code>formAction</code></dfn> IDL
-  attribute must reflect the <code title="attr-fs-formaction"><a href="#attr-fs-formaction">formaction</a></code> content attribute. The
-  <dfn id="dom-fs-formenctype" title="dom-fs-formEnctype"><code>formEnctype</code></dfn> IDL
+  attribute must reflect the <code title="attr-fs-formaction"><a href="#attr-fs-formaction">formaction</a></code> content attribute,
+  except that on getting, when the content attribute is missing or its
+  value is the empty string, <a href="dom.html#the-document-s-address">the document's address</a> must
+  be returned instead. The <dfn id="dom-fs-formenctype" title="dom-fs-formEnctype"><code>formEnctype</code></dfn> IDL
   attribute must reflect the <code title="attr-fs-formenctype"><a href="#attr-fs-formenctype">formenctype</a></code> content attribute,
   <a href="common-dom-interfaces.html#limited-to-only-known-values">limited to only known values</a>. The <dfn id="dom-fs-formmethod" title="dom-fs-formMethod"><code>formMethod</code></dfn> IDL
   attribute must reflect the <code title="attr-fs-formmethod"><a href="#attr-fs-formmethod">formmethod</a></code> content attribute,

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1371
retrieving revision 1.1372
diff -u -d -r1.1371 -r1.1372
--- spec.html	12 Jan 2011 23:46:40 -0000	1.1371
+++ spec.html	13 Jan 2011 00:47:13 -0000	1.1372
@@ -351,7 +351,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.4646.
+This is revision 1.4648.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Thursday, 13 January 2011 00:47:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 00:47:28 GMT