Closed
Bug 1737360
Opened 4 years ago
Closed 4 years ago
HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element
Categories
(Core :: DOM: Forms, defect)
Core
DOM: Forms
Tracking
()
RESOLVED
FIXED
95 Branch
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: edgar, Assigned: edgar)
Details
Attachments
(2 files)
See
- https://html.spec.whatwg.org/#dom-cva-willvalidate
- https://html.spec.whatwg.org/#candidate-for-constraint-validation
- https://html.spec.whatwg.org/#category-submit
There is a wpt for that, https://wpt.fyi/results/html/semantics/forms/constraints/form-validation-willValidate.html?label=experimental&label=master&aligned, both Chrome and Safari pass the test.
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Updated•4 years ago
|
Severity: -- → S3
| Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Attachment #9247368 -
Attachment description: Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; → Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug
| Assignee | ||
Comment 3•4 years ago
|
||
Also, nor :valid and :invalid pseudo-class should apply to output element,
see
Updated•4 years ago
|
Attachment #9247368 -
Attachment description: Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug → WIP: Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug
| Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Attachment #9247368 -
Attachment description: WIP: Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug → Bug 1737360 - HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug
| Assignee | ||
Comment 5•4 years ago
|
||
Depends on D129325
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8015aab02d65
HTMLOutputElement.willValidate should return false since HTMLOutputElement is not a submittable element; r=smaug
https://hg.mozilla.org/integration/autoland/rev/69323028553b
Add wpt for :valid and :invalid pseudo-class on output element; r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/31388 for changes under testing/web-platform/tests
Comment 8•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8015aab02d65
https://hg.mozilla.org/mozilla-central/rev/69323028553b
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•