W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

[csswg-drafts] Pull Request: [css-color-5] Adjustments to edge cases and set notation for hue interpolation types

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Jul 2020 22:58:42 +0000
To: public-css-archive@w3.org
Message-ID: <pull_request.opened-443042160-1593644321-sysbot+gh@w3.org>
dbaron has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-color-5] Adjustments to edge cases and set notation for hue interpolation types ==
This makes a few adjustments to the definitions of hue interpolation
types to follow up on the discussions in #4735.

First, it adjusts the pseudo-code so that for 'shorter' and 'longer',
angles that differ by 180 degrees will always go in the decreasing
direction, as described in
https://github.com/w3c/csswg-drafts/issues/4735#issuecomment-650254063

Second, it adjusts the set notation to match the pseudo-code.  (They
were not matching even prior to this change.)  The set notation
previously seemed to assume that there were absolute-value functions
present that were not actually there.  However, given the asymmetry of
always going in the decreasing direction, it's more correct to write it
without absolute values.

See https://github.com/w3c/csswg-drafts/pull/5278
Received on Wednesday, 1 July 2020 22:58:44 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC