W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

[csswg-drafts] [css-color] "full numbers, not just integers"?

From: Louis Lazaris via GitHub <sysbot+gh@w3.org>
Date: Wed, 03 Aug 2016 09:10:20 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-169083661-1470215419-sysbot+gh@w3.org>
impressivewebs has just created a new issue for 

== [css-color] "full numbers, not just integers"? ==
Re: https://drafts.csswg.org/css-color/#rgb-functions

In the description of the rgb functions it says, in part:

> the CSS syntax allows full `<number>`s, not just `<integer>`s, for 
authoring convenience

This seems to imply that the numbers can be decimals (e.g. `rgb(3.4, 
34.6, 144.7)`. The [number type 
which the above quote links to, explains that a `<number>` can be 
fractional. But I don't see this working in an rgb function. Can this 
section clarify a little better what exactly is meant by "full 
numbers, not just integers"?

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/376 using your GitHub 
Received on Wednesday, 3 August 2016 09:10:28 UTC

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