Closed Bug 1893969 Opened 1 year ago Closed 1 year ago

[css-color] HSL colors with RCS serializes to the legacy sRGB syntax in stead of modern

Categories

(Core :: CSS Parsing and Computation, defect, P2)

defect

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: tlouw, Assigned: tlouw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Right now all hsl(..) colors serialize to the legacy syntax rgb(..). With RCS, the legacy syntax is not supported and hsl(..) should serialize to color(srgb ..).

Currently there is nothing to mark the color as "should be in modern/legacy" syntax when using the hsl color space.

We keep track of whether there was an origin color available so that we
can serialize hsl and hwb colors in modern srgb syntax.

Assignee: nobody → tlouw
Status: NEW → ASSIGNED
Pushed by tlouw@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/468efb317323 Serialize hsl/hwb(..) with origin colors in modern color(srgb ..) r=layout-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: