- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Nov 2019 18:18:57 +0000
- To: public-css-archive@w3.org
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-4] lch() and lab() should use a % for their L argument, not a number == (Migrated this sub-issue from #278.) In lch() and lab(), the L (lightness) argument normally ranges from 0 to 100, similar to hsl()'s L argument going from 0% to 100%. It can go *above* 100, 100 still represents "full white" with no hint of the hue color; higher values just indicate brighter, more luminous whites. (Wikipedia even defines the L argument as being 0-100, with no mention of higher values!) We should be consistent in our usage here, and make L just a `<percentage>` in these two functions as well. (a/b/c are all much more arbitrary values with no theoretical max, so keeping them as an arbitrarily-defined number rather than a percentage makes more sense.) @svgeesus Thoughts? This would prevent the collision of number/percentage meaning that you were concerned about in #3450, too. ^_^ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4477 using your GitHub account
Received on Friday, 1 November 2019 18:18:59 UTC