[Bug 11161] form.action, button.formAction and input.formAction IDL attributes should return the document location when the content attribute is the empty string

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11161

Mounir Lamouri <mounir.lamouri@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |data:text/html,<!DOCTYPE
                   |                            |html><html><body><form
                   |                            |action=""></form><script>al
                   |                            |ert(document.forms[0].actio
                   |                            |n);</script></body></html>

--- Comment #2 from Mounir Lamouri <mounir.lamouri@gmail.com> 2010-12-28 10:37:09 UTC ---
Testcase in the URL.

Opera 11, Gecko 1.9 (and trunk) and IE6 return the empty string.
Webkit returns the document location.

So, no one returns what the spec require: the base URL. I guess we should
change the spec to follow what is the legacy behavior or spec the logical one
which might not be too dangerous if Webkit did it.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 28 December 2010 10:37:11 UTC