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

RE: [css3-background] Default shadow color

From: Brian Manthos <brianman@microsoft.com>
Date: Fri, 4 Mar 2011 20:11:08 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: Brad Kemper <brad.kemper@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>, Estelle Weyl <estelle@weyl.org>
Message-ID: <FA122FEC823D524CB516E4E0374D9DCF16D314B6@TK5EX14MBXC138.redmond.corp.microsoft.com>
Thanks for the link.  I didn't have much luck finding that quickly on my own.

Interesting.  Well that at least helps that scenario.

> color: interpolated via red, green, blue and alpha components (treating each as a number, see below). 
> Issue: Are the colors interpolated in premultiplied space or non-premultiplied space?

Has there been any recent activity on this Issue?

Also, I'm curious...
> shadow: interpolated via the color, x, y and blur components (treating them as
> color and numbers where appropriate). In the case where there are lists of shadows,
> the shorter list is padded at the end with shadows whose color is transparent and all
> lengths (x, y, blur) are 0.


How do you interpolate from inset to non-inset (and the reverse)?

from {
	box-shadow: 0 0 0 blue;
}
to {
	box-shadow: 0 0 0 red inset;
}

- Brian


> -----Original Message-----
> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
> Sent: Friday, March 04, 2011 11:20 AM
> To: Brian Manthos
> Cc: Brad Kemper; fantasai; www-style@w3.org; Estelle Weyl
> Subject: Re: [css3-background] Default shadow color
> 
> On Fri, Mar 4, 2011 at 11:04 AM, Brian Manthos <brianman@microsoft.com>
> wrote:
> > I was referring to box-shadow with CSS3 animations.
> > http://www.w3.org/TR/css3-animations/

> >
> > Maybe my understanding is old, but I thought the spec doesn't allow
> animation of box-shadow but does allow animation of color.
> 
> Check out <http://dev.w3.org/csswg/css3-transitions/#animatable-

> properties->
> - 'shadow' is an animatable type.  The list only explicitly calls out text-shadow,
> but I suspect that's because the current Transitions draft was written during
> the period when box-shadow was removed from B&B.
> 
> ~TJ

Received on Friday, 4 March 2011 20:11:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT