Closed Bug 1897092 Opened 1 year ago Closed 1 year ago

[css-color] hsl/hwb gamut maps (clips) when not in modern syntax (created from rcs)

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: tlouw, Assigned: tlouw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

hsl/hwb now subtly have a modern/legacy syntax state which corresponds to whether it was created by rcs or not. When in a modern state (created via rcs) then we should not clamp any of the components during conversion.

If hsl/hwb colors were created with rcs, then they are assumed to be
modern syntax and thens hould not be gamut mapped/clipped in any way.

Pushed by tlouw@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c732a1a31a39 Don't clamp hsl/hwb channels for modern syntax colors r=layout-reviewers,emilio
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: