Closed Bug 613113 Opened 14 years ago Closed 14 years ago

Invalid output element doesn't block the form submission

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b8

People

(Reporter: mounir, Assigned: mounir)

References

()

Details

Attachments

(1 file, 1 obsolete file)

With latest nightly / trunk, <output> can be invalid but it doesn't block the form submission.
Attached patch Patch v1 (obsolete) — Splinter Review
The specs say that only submittable elements should block the submissions but all non-submittable elements (except output now) that barred from constraint validation. I think it's safe to have all listed and non-listed elements being able to block the submission.
Assignee: nobody → mounir.lamouri
Status: NEW → ASSIGNED
Attachment #491567 - Flags: review?(jonas)
Attachment #491567 - Flags: approval2.0?
Attached patch Patch v1.1Splinter Review
This is fixing a test.
Attachment #491567 - Attachment is obsolete: true
Attachment #491811 - Flags: review?(jonas)
Attachment #491811 - Flags: approval2.0?
Attachment #491567 - Flags: review?(jonas)
Attachment #491567 - Flags: approval2.0?
Attachment #491811 - Flags: review?(jonas)
Attachment #491811 - Flags: review+
Attachment #491811 - Flags: approval2.0?
Attachment #491811 - Flags: approval2.0+
Pushed:
http://hg.mozilla.org/mozilla-central/rev/d9a4ae0eb4e4
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: