Re: [css3-animations] !important in animations rule - clarification

On Fri, Jan 13, 2012 at 12:46 PM, Sylvain Galineau
<sylvaing@microsoft.com> wrote:
> This is to clarify the following 01/04 telcon resolution [1]:
>
> - RESOLVED: Don't allow !important in animations rules - it's a syntax error.
>
> My assumption is that the following:
>
>        @keyframes slider {
>              from {
>                width:0px;
>              }
>        to {
>                width:200px !important;
>              }
>        }
>
> ...would be equivalent to:
>
>        @keyframes slider {
>              from {
>                width:0px;
>              }
>        to {}
>        }
>
> i.e. the !important results in an invalid width value and the declaration has no effect.
>
> Or did we have something else in mind e.g. the entire animation is invalid?

Your assumption is correct - it's the same behavior as every other syntax error.

~TJ

Received on Friday, 13 January 2012 22:37:59 UTC