[csswg-drafts] [css-color-4] Clarify interactions with host syntax (#7567)

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

== [css-color-4] Clarify interactions with host syntax ==
The spec goes to some length about what host syntax is, and specifies: “These features are collectively termed the host syntax. The host syntax should define what the default interpolation space should be for each case, and optionally provide syntax for authors to override this default. If such syntax is part of a property value, it should use a <color-interpolation-method> token, defined below for easy reference from other specifications. ”

However, it's not clear at all what “the host syntax should define” means. Does this mean that the spec expects e.g. that the CSS animations spec be changed to have new CSS properties for interpolation color space? (And similar for gradients and filters.) There is new syntax in §12.1 (“Color Space for Interpolation”), but it doesn't seem to be connected to anything in the larger scope of CSS. Is something missing from the color spec, or will other specs fill this in at some future date?

Concretely, if I as an author would want to make a gradient that's interpolating using (say) HSL along the longer axis, how would I express that? Can I do that at all currently?

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


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

Received on Thursday, 4 August 2022 10:00:31 UTC