W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2008

html5/spec Overview.html,1.1548,1.1549

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 29 Oct 2008 00:56:58 +0000
To: public-html-commits@w3.org
Message-Id: <E1KuzMp-0002m6-1m@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv10637

Modified Files:
	Overview.html 
Log Message:
Clarify that processing of action='' (empty) is wrong per RFC3986. (credit: tb) (whatwg r2377)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1548
retrieving revision 1.1549
diff -u -d -r1.1548 -r1.1549
--- Overview.html	29 Oct 2008 00:44:27 -0000	1.1548
+++ Overview.html	29 Oct 2008 00:56:56 -0000	1.1549
@@ -22537,11 +22537,22 @@
 
    <li><p>Let <var title="">action</var> be the <var title="">submitter</var> element's <a href=#concept-fs-action title=concept-fs-action>action</a>.</li>
 
-   <li><p>If <var title="">action</var> is the empty string, let <var title="">action</var> be <span>the document's address</span><!--
-   XXXDOCURL -->.</p> <!-- Don't ask me why. But that's what IE
-   does. It even treats action="" differently from action=" " or
-   action="#" (the latter two resolve to the base URL, the first one
-   resolves to the doc URL) -->
+   <li>
+
+    <p>If <var title="">action</var> is the empty string, let <var title="">action</var> be <span>the document's address</span><!--
+    XXXDOCURL -->.</p>
+
+    <p class=note>This step is a willful violation of RFC 3986. <a href=#references>[RFC3986]</a></p>
+
+    <!-- Don't ask me why. But that's what IE does. It even treats
+    action="" differently from action=" " or action="#" (the latter
+    two resolve to the base URL, the first one resolves to the doc
+    URL). And other browsers concur. It is even required, see e.g.
+      http://bugs.webkit.org/show_bug.cgi?id=7763
+      https://bugzilla.mozilla.org/show_bug.cgi?id=297761
+    -->
+
+   </li>
 
    <li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the
    <a href=#url>URL</a> <var title="">action</var>. If this fails, abort
Received on Wednesday, 29 October 2008 00:57:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 October 2008 00:57:17 GMT