Invalid output element doesn't block the form submission

RESOLVED FIXED in mozilla2.0b8

Status

()

Core
DOM: Core & HTML
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: mounir, Assigned: mounir)

Tracking

Trunk
mozilla2.0b8
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

7 years ago
With latest nightly / trunk, <output> can be invalid but it doesn't block the form submission.
(Assignee)

Comment 1

7 years ago
Created attachment 491567 [details] [diff] [review]
Patch v1

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)
(Assignee)

Updated

7 years ago
Attachment #491567 - Flags: approval2.0?
(Assignee)

Comment 2

7 years ago
Created attachment 491811 [details] [diff] [review]
Patch v1.1

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+
(Assignee)

Comment 3

7 years ago
Pushed:
http://hg.mozilla.org/mozilla-central/rev/d9a4ae0eb4e4
Status: ASSIGNED → RESOLVED
Last Resolved: 7 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.