W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

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

From: weinig via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 Jan 2021 21:35:12 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-795461274-1611783311-sysbot+gh@w3.org>
weinig has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-4] Example 20 has an erroneous % in the alpha serialization output ==
In Example 20 in the section https://drafts.csswg.org/css-color/#serializing-color-function-values, the following results incorrectly puts a % sign on the alpha serialization.

> is the string "color(prophoto-rgb 0.28 0.403 0.423 / 0.85%)", if three decimal places are retained.

The alpha value should be just `0.85` (I think. I can't quite tell where it states that alpha is serialized as <number> and not a percentage for color functions, but since all the other values do, it should probably should as well). 



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5903 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 27 January 2021 21:35:14 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC