Closed Bug 1821569 Opened 2 years ago Closed 2 years ago

Fix WPT failures in html/semantics/forms/the-input-element/number.html

Categories

(Core :: DOM: Forms, defect)

defect

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: avandolder, Assigned: avandolder)

References

Details

Attachments

(1 file)

The test with failures is at https://wpt.fyi/results/html/semantics/forms/the-input-element/number.html. It appears our sanitizer for number inputs is overly generous with what it accepts, allowing leading pluses trailing dots. The relevant spec is at https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-floating-point-number.

Severity: -- → S3
Pushed by avandolder@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5f15d941a5f2 Align number input sanitization with the spec. r=edgar
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Regressions: 1836659
Regressions: 1839572
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: