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

_With the disclaimer that I have no insight to the history of the feature and the iterations the implementations, and the spec, went through:_ 

I can relate to the "interpolation hints are regular color stops" angle if we assume that:
- 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.
- 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. 

However, solely by reading the current spec and proposed algorithm of color stop positioning, I did not get that impression at all and was surprised when comparing with browser implementations.

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

Received on Friday, 24 May 2019 10:52:59 UTC