Re: [csswg-drafts] [css-color] Clamping component values at computed-value time vs parsing time (#7677)

It looks like implementations are clamping under-range Lab l and alpha at parse time:
  [`lab(-150% -30 40 / -30)` specified value is `lab(0 -30 40 / 0)`](https://codepen.io/svgeesus/pen/BaPRvOJ)

but over-range Lab l is left unclamped (the spec used to require this, but it was changed a while ago):
[`lab(600% -30 40 / 300);` specified value is `lab(600 -30 40)`](https://codepen.io/svgeesus/pen/MWBmLeg)

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7677#issuecomment-1380372500 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 12 January 2023 13:40:33 UTC