Re: [css3-animations] !important and keyframes rules

On Tue, 12 Apr 2011 06:18:42 +0200, L. David Baron <>  

> doesn't mention
> what should happen when !important is used inside a keyframe rule.
> It seems like the normal rules for precedence of declarations should
> apply inside a keyframe rule:  !important beats not-!important, and
> barring that, later declarations beat earlier ones.

Interestingly, it seems both WebKit and Gecko treat @keyframes and  
@font-face differently regarding !important. As far as I can tell WebKit  
only honors it in @font-face and Gecko only in @keyframes.

Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Monday, 26 September 2011 14:32:42 UTC