html5/spec Overview.html,1.1548,1.1549

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 UTC