Summary: | Safari submits forms with disabled submit buttons | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mathew Harrison <mhharrison> | ||||
Component: | Forms | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED WONTFIX | ||||||
Severity: | Normal | CC: | akeerthi, ap, aroben, code, dglazkov, mitz | ||||
Priority: | P2 | ||||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=243594 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 39021 | ||||||
Attachments: |
|
Description
Mathew Harrison
2008-01-15 14:54:11 PST
Created attachment 18478 [details]
test case
Same test as an attachment.
What do MSIE and Firefox do in this case? (In reply to comment #4) > What do MSIE and Firefox do in this case? > MSIE submits the form in the case of one text input. If you have two text inputs and a disabled submit, MSIE will not submit the form. Firefox will not submit the form if the submit input is disabled. Safari will submit the form with multiple text inputs and a disabled submit button. What if there are multiple submit buttons? <a href="..." id="sumLink" disabled="disabled">Foo</a> Is NOT disabled. > <a href="..." id="sumLink" disabled="disabled">Foo</a> is invalid markup code. People of this bug should visit bug 14443 : Forms dont submit when disabling submit button which is the exact opposite summary of this bug. We match IE in this case, for consistency with other edge cases. See bug 9756 for more information Although the 2010 outcome was WONTFIX, I believe this behavior was changed in https://bugs.webkit.org/show_bug.cgi?id=243594. Mentioning it here because this bug still turns up in Google results. |