[fxtf-drafts] [filter-effects-1] inconsistent number of decimal places for hueRotate matrix (#542)

Artoria2e5 has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [filter-effects-1] inconsistent number of decimal places for hueRotate matrix ==
In https://drafts.fxtf.org/filter-effects/#attr-valuedef-type-huerotate (actually scroll down a little), we see:

>For type="hueRotate", [values](https://drafts.fxtf.org/filter-effects/#element-attrdef-fecolormatrix-values) is a single one real number value (degrees). A [hueRotate](https://drafts.fxtf.org/filter-effects/#attr-valuedef-type-huerotate) operation is equivalent to the following matrix operation:
>MML
>where the terms a00, a01, etc. are calculated as follows:
> feColorMatrix03.mml
> Thus, the upper left term of the hue matrix turns out to be:
> feColorMatrix04.mml

The issue is that the two MMLs, https://github.com/w3c/fxtf-drafts/blob/1c75a54c68e937275f55ce3990def0ddc4b3b7e4/filter-effects/mathml/feColorMatrix03.mml and https://github.com/w3c/fxtf-drafts/blob/1c75a54c68e937275f55ce3990def0ddc4b3b7e4/filter-effects/mathml/feColorMatrix04.mml, disagree on their number of decimal places. 03 says "0.213, 0.787", while 04 gives "0.2127, 0.7873".


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


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

Received on Monday, 8 January 2024 08:53:53 UTC