Closed
Bug 7083
Opened 26 years ago
Closed 26 years ago
[DOGFOOD] Form submission is wacky when "action" is unspecified.
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
M7
People
(Reporter: hyatt, Assigned: karnaze)
Details
Form submission on forms with no action causes the current page containing
the form to reload. This behavior busts up XUL, since we want to be able to
use widgets inside forms without having an associated action.
When the action attribute is specified, it seems like submit should not be
trying to load a URL. The HTML4 spec states that when the action is omitted,
that what you do on a form submission is unspecified.
I'd like to see it not do anything, rather than reloading the current page.
Reporter | ||
Comment 1•26 years ago
|
||
Sorry, that should have read "When the action attribute is UNspecified"
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Target Milestone: M7
Assignee | ||
Comment 2•26 years ago
|
||
fixed with latest checkin.
Comment 3•26 years ago
|
||
hyatt, does this mean we can uncomment the hack in nsFormControlFrame because
this should be fixed on MacOS. Win/gtk doing the wrong this is still a separate
matter.
Using the moronic test case at http://schist/7083.html and the 1999060208 build
under NT, I don't see any wackiness when a form without an action is submitted.
Marking verified fixed.
Comment 5•26 years ago
|
||
hack removed from build so mac now will submit forms on return key pressed.
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•