- From: Dominik Röttsches via GitHub <sysbot+gh@w3.org>
- Date: Fri, 03 Nov 2023 10:57:31 +0000
- To: public-css-archive@w3.org
Picking up the remaining: > bikeshed on the issue about the interpolation color space originating from @emilio's question on whether the specified `color-interpolation-method` is needed and going to be used. At TPAC we discussed further with @emilio to describe the use-case that the gradient interpolation in COLRv1 fonts is in sRGB, and thus it is useful to specify the palette-mix interpolation also as sRGB for consistency, which I dare to paraphrase as sounding like a reasonable use-case to @emilio. After helpful input from @svgeesus, @lilles, @andruud, @tursunova (thanks!), I would like to add some more clarity on interpolation method/color space and distinguish two kinds of interpolation: 1) The _static_ computation and resolution into a palette of a `palette-mix()` with an interpolation method specified at a fixed point in time. 2) The specification of the color interpolation method during animation and transitions. Here, we are discussing 1), and 2) is being discussed in #7741 and #7063. So `palette-mix()` is not used for specifying the interpolation color space during animations and transitions, but is used to for example specify the color space to a) blend between two palettes as specified by a user, or b) represent a computed value that occurs during transitions or animations. In particular, when #7063 is resolved and a proposed `transition-interpolation:` property is added (which seems likely following that discussion), and more so if in the future something similar is added for animations, then we need a place to express what interpolation method between two palettes was used during a transition or animation. A computed `font-palette` value then necessarily needs a `<color-interpolation-method>` so that it is a closed form, correct representation of the blended palettes at a particular time during the transition/animation. With that, I think we can conclude that the value is needed, and I'd be curious about your feedback, @emilio. -- GitHub Notification of comment by drott Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8922#issuecomment-1792237695 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 3 November 2023 10:57:34 UTC