[html5] r5785 - [giow] (1) make .action and .formAction handle the empty string more like the co [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jan 12 16:02:37 PST 2011


Author: ianh
Date: 2011-01-12 16:02:36 -0800 (Wed, 12 Jan 2011)
New Revision: 5785

Modified:
   complete.html
   index
   source
Log:
[giow] (1) 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)
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11161

Modified: complete.html
===================================================================
--- complete.html	2011-01-12 23:48:59 UTC (rev 5784)
+++ complete.html	2011-01-13 00:02:36 UTC (rev 5785)
@@ -47620,19 +47620,23 @@
 
   <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,

Modified: index
===================================================================
--- index	2011-01-12 23:48:59 UTC (rev 5784)
+++ index	2011-01-13 00:02:36 UTC (rev 5785)
@@ -47602,19 +47602,23 @@
 
   <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,

Modified: source
===================================================================
--- source	2011-01-12 23:48:59 UTC (rev 5784)
+++ source	2011-01-13 00:02:36 UTC (rev 5785)
@@ -53456,14 +53456,17 @@
 
   <hr>
 
-  <p>The <dfn title="dom-fs-action"><code>action</code></dfn> and <dfn
-  title="dom-fs-target"><code>target</code></dfn> IDL attributes must
-  <span>reflect</span> the respective content attributes of the same
-  name. The <dfn title="dom-fs-method"><code>method</code></dfn> and
-  <dfn title="dom-fs-enctype"><code>enctype</code></dfn> IDL
-  attributes must <span>reflect</span> the respective content
-  attributes of the same name, <span>limited to only known
-  values</span>. The <dfn
+  <p>The <dfn title="dom-fs-action"><code>action</code></dfn> IDL
+  attribute must <span>reflect</span> the content attribute of the
+  same name, except that on getting, when the content attribute is
+  missing or its value is the empty string, <span>the document's
+  address</span> must be returned instead. The <dfn
+  title="dom-fs-target"><code>target</code></dfn> IDL attribute must
+  <span>reflect</span> the content attribute of the same name. The
+  <dfn title="dom-fs-method"><code>method</code></dfn> and <dfn
+  title="dom-fs-enctype"><code>enctype</code></dfn> IDL attributes
+  must <span>reflect</span> the respective content attributes of the
+  same name, <span>limited to only known values</span>. The <dfn
   title="dom-fs-encoding"><code>encoding</code></dfn> IDL attribute
   must <span>reflect</span> the <code
   title="attr-fs-enctype">enctype</code> content attribute,
@@ -53473,8 +53476,11 @@
   title="attr-fs-novalidate">novalidate</code> content attribute. The
   <dfn title="dom-fs-formAction"><code>formAction</code></dfn> IDL
   attribute must reflect the <code
-  title="attr-fs-formaction">formaction</code> content attribute. The
-  <dfn title="dom-fs-formEnctype"><code>formEnctype</code></dfn> IDL
+  title="attr-fs-formaction">formaction</code> content attribute,
+  except that on getting, when the content attribute is missing or its
+  value is the empty string, <span>the document's address</span> must
+  be returned instead. The <dfn
+  title="dom-fs-formEnctype"><code>formEnctype</code></dfn> IDL
   attribute must reflect the <code
   title="attr-fs-formenctype">formenctype</code> content attribute,
   <span>limited to only known values</span>. The <dfn




More information about the Commit-Watchers mailing list