You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[css-color-5] Preserve hsl/hwb identity when result contains none, #10254
Per CSSWG resolution 2026-01-27, defer to the css-color-4
sRGB serialization rules: an hsl() or hwb() color-mix or
relative-color result that contains a missing component
(including an alpha carried forward from the origin color)
serializes using the modern hsl(H S L / A) or hwb(H W B / A)
form, rather than degrading to color(srgb r g b) which would
lose the original color-function identity.
Adds a worked example for the original test case
"hsl(from rebeccapurple none none none / none)".
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments