Bug 14215 - Why is it invalid to have an empty action attribute, and can't an empty value not just have the same meaning as a missing action attribute (i.e. submit to current page)
Why is it invalid to have an empty action attribute, and can't an empty value...
Status: RESOLVED WONTFIX
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec
unspecified
Other other
: P3 normal
: ---
Assigned To: Ian 'Hixie' Hickson
HTML WG Bugzilla archive list
http://www.whatwg.org/specs/web-apps/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-19 10:24 UTC by contributor
Modified: 2011-09-21 21:01 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description contributor 2011-09-19 10:24:21 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html
Multipage: http://www.whatwg.org/C#form-submission-0
Complete: http://www.whatwg.org/c#form-submission-0

Comment:
Why is it invalid to have an empty action attribute, and can't an empty value
not just have the same meaning as a missing action attribute (i.e. submit to
current page)

Posted from: 194.171.184.65
User agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20110820 SeaMonkey/2.3.1
Comment 1 Ian 'Hixie' Hickson 2011-09-21 21:01:44 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Because browsers do weird things with an empty action="" attribute.

I suppose I could add a warning there if you think that would help.