Closed Bug 1857398 Opened 1 year ago Closed 1 year ago

[css-properties-values-api] ComputedValue should support ToCss

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: zrhoffman, Assigned: zrhoffman)

References

Details

Attachments

(2 files)

In order to store the result of computed the value of registered custom properties, properties_and_values::ComputedValue should support the ToCss trait.

@Zach: Bug is unassigned. Are you working on this?

Flags: needinfo?(zach)

In order to convert a computed value whose syntax descriptor contains a
multiplier to a string, we need to keep track of what multiplier each
list has.

Assignee: nobody → zach
Status: NEW → ASSIGNED

Drive-by, but this patch also avoids dereferencing multipliers for a
match statement used in Multiplier's ToCss trait.

Depends on D190251

Yep!

Flags: needinfo?(zach)
Pushed by zach@zrhoffman.net: https://hg.mozilla.org/integration/autoland/rev/209c9cd4b551 [css-properties-values-api] Store multiplier for computed value lists r=fredw,emilio
Pushed by zach@zrhoffman.net: https://hg.mozilla.org/integration/autoland/rev/ee84d6e6a073 [css-properties-values-api] Support ToCss for ComputedValue r=fredw
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: