Closed Bug 1823295 Opened 2 years ago Closed 2 years ago

NaN and infinity percentages are not serialized correctly

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox113 --- wontfix
firefox114 --- fixed

People

(Reporter: canadahonk, Assigned: canadahonk)

References

Details

Attachments

(1 file)

NaN and infinity percentages like NaN and infinity (and -infinity) should be serialized properly as per spec (NaN * 1%, etc).

WPT tests currently do not exist and should be added also.

Severity: -- → S3

NaN and infinity percentages are now serialized as expected.

Also added some new WPT tests as percentages were previously untested.

Assignee: nobody → oj
Status: NEW → ASSIGNED
Pushed by oj@oojmed.com: https://hg.mozilla.org/integration/autoland/rev/34e0e50f3266 Serialize NaN and infinity percentages correctly r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/39780 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Upstream PR merged by moz-wptsync-bot
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: