- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 3 Sep 2013 22:54:36 -0700
- To: Dirk Schulze <dschulze@adobe.com>
- Cc: www-style list <www-style@w3.org>
On Tue, Sep 3, 2013 at 10:48 PM, Dirk Schulze <dschulze@adobe.com> wrote: > On Sep 3, 2013, at 5:18 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: >> Indeed. Thus, my (and Shane's) longstanding suggestion that we swap >> steps 2 and 3, and only perform the new step 3 at layout time. > > I am not sure if that helps avoiding the problem of depending layout at all. You still have color-stops without position like: > > linear-gradient(red 20px, blue, green 80%); > > blue must be positioned with equal distance to green and red. This as well requires information about gradient length and therefore layout information. Without these information, you can not animate the position of blue properly. > > Note that as far as I am aware of, neither WebKit/Blink nor Gecko have (reliable) layout information at this point. Nope, you can do that with calc() without requiring any layout information. ~TJ
Received on Wednesday, 4 September 2013 05:55:23 UTC