W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

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

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Feb 2019 07:33:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-464617942-1550475223-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:43 UTC