Closed Bug 1737364 Opened 4 years ago Closed 3 years ago

Element should be barred from constraint validation if it has a datalist element ancestor

Categories

(Core :: DOM: Forms, defect)

defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: edgar, Assigned: edgar)

References

Details

Attachments

(2 files)

Per https://html.spec.whatwg.org/#barred-from-constraint-validation,

an element is barred from constraint validation if it has a datalist element ancestor

There is wpts for that, https://wpt.fyi/results/html/semantics/forms/constraints/form-validation-willValidate.html?label=experimental&label=master&aligned, we fail on <select> and <textarea> where both Chrome and Safari pass them.

Severity: -- → S3
See Also: → 595282
Blocks: 1556365
Assignee: nobody → echen
Attachment #9248100 - Attachment description: Bug 1737364 - Part 1: Reset readOnly attribute while starting new tests; → Bug 1737364 - Part 1: Reset readOnly attribute while starting new tests; r=smaug
Attachment #9248101 - Attachment description: Bug 1737364 - Part 2: Elements should be barred from constraint validation if it has a datalist element ancestor; → Bug 1737364 - Part 2: Elements should be barred from constraint validation if it has a datalist element ancestor; r=smaug
Attachment #9248100 - Attachment description: Bug 1737364 - Part 1: Reset readOnly attribute while starting new tests; r=smaug → Bug 1737364 - Part 1: Reset readonly content attribute while starting new tests; r=smaug
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/55f0dcca47b3 Part 1: Reset readonly content attribute while starting new tests; r=smaug https://hg.mozilla.org/integration/autoland/rev/962235cc2cf2 Part 2: Elements should be barred from constraint validation if it has a datalist element ancestor; r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/31487 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: