RE: [css3-images] Premultiplication switch (was: gradient pre-multiplied interpolation)

I meant an example usage, but that's good enough for now.

I'd rather see the interpolation specified in the gradient specification itself.

Doing it as part of the gradient itself would allow for varying the interpolation mode across layers of a background-image specification, whereas doing it as a separate property wouldn't allow that.  Unless of course you want to make color-interpolation a layered property as well...

Further, I don't like idea of introducing an interaction of the "gradient specification within property A" (where A is background-image, list-style-image, or generated content) to interact with a separate property (color-interpolation).  Doing so making caching/sharing opportunities more complicated, adds general implementation complexity, and easily leads to "author surprise".


Two related notes:
(1) CSS Animations/Transitions question - Does the color-interpolation property impact them?
(2) We should definitely have a CSS test suite example that captures how transitioning/animating color-interpolation property should behave.

-Brian

Received on Wednesday, 27 July 2011 21:54:06 UTC