Closed Bug 1924679 Opened 11 months ago Closed 11 months ago

[css-values] Factors in a calc() product node should be sorted during serialization.

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: tlouw, Assigned: tlouw)

Details

Attachments

(1 file)

According to the spec: https://drafts.csswg.org/css-values/#calc-serialize

Serialization of a product node:

If root is a Product node...

Sort root’s children.

When we simplify a product node, sort the factors according to the spec.

https://drafts.csswg.org/css-values/#calc-serialize

Some tests that assume the factors stay in the declared order is fixed.

Assignee: nobody → tlouw
Attachment #9430981 - Attachment description: WIP: Bug 1924679 - Sort factors of a product node during simplication r=emilio → Bug 1924679 - Sort factors of a product node during simplication r=#layout
Status: NEW → ASSIGNED
Pushed by tlouw@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/28e8c3437cef Sort factors of a product node during simplication r=layout-reviewers,jfkthame
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/48619 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 133 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

Creator:
Created:
Updated:
Size: