Re: [csswg-drafts] [css-color] Should specify that `opacity` is serialized as a number for the specified values (#10426)

Does that happen by analogy with [15.1. Serializing alpha values](https://drafts.csswg.org/css-color-4/#serializing-alpha-values)?

Do we need a new section **Serializing <opacity> values** ? Or just add it to [Transparency: the opacity property](https://drafts.csswg.org/css-color-4/#transparency)

@weinig by normalized do you mean just percent converted to number, or also clamped? Spec  currently says:

> Opacity values outside the range [0,1] are not invalid, and are preserved in specified values, but are clamped to the range [0, 1] in computed values.

which implies unclamped specified values.

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


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

Received on Wednesday, 10 July 2024 16:27:04 UTC