This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10332 - Shipping browsers don't have form.action reflect the DOM attribute exactly. Specifically, if the content attribute is the empty string, they generally return "" on an IDL get, not the current address. This contradicts the spec, but it would be confusing
Summary: Shipping browsers don't have form.action reflect the DOM attribute exactly. ...
Status: CLOSED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords: NE
Depends on:
Blocks:
 
Reported: 2010-08-09 19:09 UTC by contributor
Modified: 2010-10-04 14:48 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2010-08-09 19:09:23 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#form-submission-0

Comment:
Shipping browsers don't have form.action reflect the DOM attribute exactly. 
Specifically, if the content attribute is the empty string, they generally
return "" on an IDL get, not the current address.  This contradicts the spec,
but it would be confusing to behave like the spec demands, because <form
action=""> is magic -- it ignores <base>.  It would probably make the most
sense to say that doing an IDL get on action for <form action=""> should
return the current document's address (where it will be submitted), not
whatever "" resolves to (as the spec says) and not literally "" (as most
browsers currently do).  (Firefox 4, Chrome dev, WebKit nightly, and Opera
10.60 all return literally "" here, although in the case of WebKit and Opera
it seems to be part of larger errors in URL reflection.  See old Mozilla bug
on this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=297761)

Posted from: 68.175.61.233
Comment 1 Aryeh Gregor 2010-09-01 22:40:07 UTC
Okay, never mind.  All browsers other than IE just reflect this as a string, not a URL.  I'll update bug 10331 with the info, since this is really part of that.