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 
https://github.com/w3c/csswg-drafts:

== [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 
description](https://drafts.csswg.org/css-values-3/#number-value), 
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 
account
Received on Wednesday, 3 August 2016 09:10:28 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC