If a form is submitted via a submit button and if the element has a formaccept attribute, it should override the form accept attribute.
s/accept/action/ in the previous comment
Summary: HTMLInputElement and HTMLButtonElement should implement formaccept attribute which override HTMLFormElement accept attribute → HTMLInputElement and HTMLButtonElement should implement formaction attribute which override HTMLFormElement action attribute
Attachment #445668 - Flags: review?(jonas) → review+
Comment on attachment 445667 [details] [diff] [review] Tests v1 You might want to also test simply calling .click() on the elements.
Attachment #445667 - Flags: review?(jonas) → review+
Blocker request: we would like to have this HTML5 Forms feature for ff4.
blocking2.0: --- → ?
Depends on: 566064
r=sicking This is adding a test with .click() and refreshing the patch.
Attachment #467035 - Flags: superreview?(Olli.Pettay) → superreview+
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b5
You need to log in before you can comment on or make changes to this bug.