Re: [csswg-drafts] [css-color-4] Allow percent as well as float 0.0 to 1.0 in color() args (#3450)

So does L\* in `lab(…)` and `color(lab,…)`. Itʼs always `100%` = `1.0` = `1` within CSS; only *outside* CSS you would *ever* encounter `100.0` = `100` = `100%`. 

I see no WG resolution to make `lab(50 …)` or `color(lab, 50 …)` resolve to the same color as `lab(0.5 …)` or `color(lab, 0.5 …)`. They might be clamped to `lab(1.0 …)` or `lab(100% …)` though. 

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

Received on Thursday, 23 January 2020 16:13:16 UTC