Re: [csswg-drafts] [css-images-4] Color stop fixup: do interpolation hints function as positioned color stops? (#3931)

> an interpolation hint is meant to be the position between colors A and B of a computed average color (A + B) / 2, i.e. a midpoint H.

That is correct and the spec clearly spells this out.

> with the available graphics engines, the transition between A and B through H can be at least two linear gradients (A→H, H→B), acceptably a series of linear gradients that approximate the log function, and ideally the log function implemented at the graphics engine level.

If the hint is in the middle, it's only a single linear gradient.
The approximation is an implementation detail. The spec doesn't need to call this out.

-- 
GitHub Notification of comment by cabanier
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3931#issuecomment-495790358 using your GitHub account

Received on Friday, 24 May 2019 21:16:32 UTC