Re: [csswg-drafts] [css-color] Lab and LCH pseudo functions differ too much from others

L in lch and lab is indeed a number in the range 0 to 100 (except some
 currently rare  high dynamic range applications, where I have seen L 
as high as 400). I didn't specify it as a percentage, because it is 
never given as a percentage anywhere lab or lch is used. Thus, I 
valued compatibility with existing usage. I can see usability issues 
if the percent sign is required, as people will forget to add it.

I don't strongly oppose percent, but wanted to document the reasons 
for the original design decision.

I can see Tab's point that commas are not needed for unambiguous 
parsing. I do think that comma to separate color ags from alpha is 
more readable.

Attempting to unify lab and lch would be confusing and a regressive 
step. The self-documenting names and compatibility with existing 
practice is, as Tab says, a good thing.

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

Received on Sunday, 10 July 2016 06:51:30 UTC