Re: [csswg-drafts] [css-color-4] Example 20 has an erroneous % in the alpha serialization output (#5903)

Thanks again for the detailed feedback! You are correct, there should not be a percentage.

This is [explicitly stated](https://drafts.csswg.org/css-color-4/#serializing-alpha-values)

> If the alpha is any other value than 1, it is explicitly included in the serialization, as a <number>, not a <percentage>. The value is expressed in base ten, with the "." character as decimal separator. The leading zero must not be omitted. Trailing zeroes must be omitted.

So the example you cited is clearly incorrect.

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


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

Received on Thursday, 28 January 2021 00:30:40 UTC