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

Re: [css3-animations] Possible spec bug?

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Mon, 31 Oct 2011 14:04:51 +0100
To: "Lea Verou" <leaverou@gmail.com>
Cc: "www-style list" <www-style@w3.org>
Message-ID: <op.v37vydccbunlto@oyvinds-desktop>
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.

Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Monday, 31 October 2011 13:05:34 UTC

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