Re: [csswg-drafts] [css-color-4] Resolving and serializing the opacity property (#8311)

> Besides, one may wonder whether `1.0` as input (tokenized to `1`) can be omitted, because it is not _exactly_ `1` and the specs do not clearly define when a component value can be omitted when serializing a specified value, at the moment (see [#5642 (comment)](https://github.com/w3c/csswg-drafts/issues/5642#issuecomment-1717185053))

Oh, you mean because that implies a float comparison (if the value is stored as a float)? Maybe we could say "if the serialized value would be '1' or something like that?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 24 January 2024 12:11:28 UTC