ITADN

Regression since css-syntax-patches-for-csstree@1.0.18

#1738OpenasamuzaK 创建于 2025-12-14
A
asamuzaKcommented
If relative color channels have `calc()` and that `calc()` contains a value with units, it was previously correctly considered invalid, but is now considered valid. Examples: * `rgb(from rebeccapurple calc(r + 1%) g b)` * `hsl(from rebeccapurple calc(h + 1deg) s l)` Tests: * https://github.com/web-platform-tests/wpt/blob/master/css/css-color/parsing/color-invalid-relative-color.html
5 条评论