Re: [csswg-drafts] [css-color-4] Computed/used value of color doesn't specify how to serialize. (#1891)

The change from ints to numbers in `rgb()` could easily be missed, so I think this needs an example in the spec.

It also directly contradicts CSSOM, which is now fine as we resolved today to remove the serailization of RGB from CSSOM and consolidate it all into CSS Color 4; so that text can now have the precision test built in.

```
rgb(146.064 107.457 131.223)
is now valid, and equal to
rgb(57.28% 42.14% 51.46%)
```

Given the conflict with what CSSOM used to say, this needs tests too.

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

Received on Thursday, 23 January 2020 17:56:08 UTC