- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 13 Jan 2012 14:37:04 -0800
- To: Sylvain Galineau <sylvaing@microsoft.com>
- Cc: "www-style@w3.org" <www-style@w3.org>
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