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

> This seems to imply that the numbers can be decimals (e.g. rgb(3.4, 
34.6, 144.7). The number type description, which the above quote links
 to, explains that a <number> can be fractional.

Correct. That is because the `<number>` values in CSS Colors 4 is a 
relaxation of the [definition in CSS Colors 
3](https://drafts.csswg.org/css-color-3/#rgb-color), which only 
allowed `<integer>` values.

> But I don't see this working in an rgb function.

As far as I know, there is no user agent supporting this yet.

Sebastian

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

Received on Wednesday, 3 August 2016 11:39:31 UTC