W3C home > Mailing lists > Public > www-style@w3.org > July 2011

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

From: Brian Manthos <brianman@microsoft.com>
Date: Wed, 27 Jul 2011 21:53:29 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: Chris Lilley <chris@w3.org>, Leif Arne Storset <lstorset@opera.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17107BB1@TK5EX14MBXC264.redmond.corp.microsoft.com>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:02 UTC