- From: Simon Fraser via GitHub <sysbot+gh@w3.org>
- Date: Fri, 03 Jan 2020 17:46:42 +0000
- To: public-css-archive@w3.org
smfr has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-4] Should gray() accept percentage for lightness? == https://www.w3.org/TR/css-color-4/#grays As the spec says, `gray(a / b)` is equivalent to `lab(a 0 0 / b)`. However,` lab()` and` lch()` both take a percentage as the lightness argument, but `gray()` is specified to take a number (where 50 is equivalent to 50%). That's confusing if we expect authors to think of gray() as just a shorthand for lab(). So I suggest we spec gray as: `gray() = gray( <percentage> [ / <alpha-value> ]? )` Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4648 using your GitHub account
Received on Friday, 3 January 2020 17:46:44 UTC