hixie: 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)

hixie: 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)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4647&r2=1.4648&f=h
http://html5.org/tools/web-apps-tracker?from=5784&to=5785

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4647
retrieving revision 1.4648
diff -u -d -r1.4647 -r1.4648
--- Overview.html 12 Jan 2011 23:49:04 -0000 1.4647
+++ Overview.html 13 Jan 2011 00:02:41 -0000 1.4648
@@ -37498,19 +37498,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="#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="#reflect">reflect</a> the respective content
-  attributes of the same name, <a href="#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="#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="#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="#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="#reflect">reflect</a> the respective content attributes of the
+  same name, <a href="#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="#reflect">reflect</a> the <code title="attr-fs-enctype"><a href="#attr-fs-enctype">enctype</a></code> content attribute,
   <a href="#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="#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="#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,

Received on Thursday, 13 January 2011 00:04:03 UTC