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

While allowing, say, 50% as a synonym for 0.5 seems unproblematic, doing so would impact https://github.com/w3c/csswg-drafts/issues/278 were @tabatkins argues for adding percentage units to the L* value. So 50 and 50% would be synonymous, except now the spec would need to clarify that here, 50% means 50 not 0.5.

Apart from that one issue, I don't see an issue with allowing percentage units as well as floats here. I don't want to hold up this issue for #278 so I'm going to agree with @faceless2 here and solve that other issue separately.

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

Received on Monday, 18 February 2019 07:33:46 UTC