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

RE: [css3-images] Order of color-stop fixup

From: Brian Manthos <brianman@microsoft.com>
Date: Fri, 12 Aug 2011 05:46:13 +0000
To: Shane Stephens <shans@google.com>
CC: Tab Atkins Jr. <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D1711CC02@TK5EX14MBXC264.redmond.corp.microsoft.com>
It seems unnecessary and error-prone to do the interpolation twice, in steps (1) and (3).

From: Shane Stephens [mailto:shans@google.com]
Sent: Thursday, August 11, 2011 9:18 PM
To: Brian Manthos
Cc: Tab Atkins Jr.; www-style list
Subject: Re: [css3-images] Order of color-stop fixup

Interpolating container-sensitive properties is still possible, it just takes more work. I outlined how to do it in my previous email, but here it is again:
(1) store non-resolved start and end values as part of the interpolated result (e.g. [cover 30%, contain 70%] is the result of a 30% interpolation between a cover gradient and a contain gradient)
(2) resolve start and end values against current size of container
(3) interpolate resolved values
Received on Friday, 12 August 2011 05:46:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:48 UTC