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

Re: [css3-animations] Possible spec bug?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 31 Oct 2011 09:17:46 -0700
Message-ID: <CAAWBYDBy0rMEmapot_Z-qrHKrCArPxQ+xOk7Hj2-09c3XR96bw@mail.gmail.com>
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: Lea Verou <leaverou@gmail.com>, www-style list <www-style@w3.org>
On Mon, Oct 31, 2011 at 6:04 AM, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> On Sat, 29 Oct 2011 23:02:48 +0200, Lea Verou <leaverou@gmail.com> wrote:
>
>> Check this out: http://jsfiddle.net/leaverou/jwHva/2/
>>
>> If you remove border-style: solid; from the div {...} rule, the animation
>> stops having a visible effect, even though both the interpolated values
>> contain border-style:solid; (in the shorthand). This doesn't change even
>> with animation-fill-mode: both; It happens in both Webkit and Mozilla, so
>> it's probably not a browser bug.
>
> I believe the problem is that the spec says this:
>
> "Properties that are unable to be animated are ignored in these rules"
>
> Since border-*-style is not animatable, putting 'solid' in the keyframes
> doesn't do anything.

Ah, that makes even more sense.  Damn you, non-transitionable keywords!

~TJ
Received on Monday, 31 October 2011 16:18:34 GMT

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