W3C home > Mailing lists > Public > www-style@w3.org > January 2012

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

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Fri, 13 Jan 2012 20:46:34 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F01782903400821@TK5EX14MBXC296.redmond.corp.microsoft.com>
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?
Received on Friday, 13 January 2012 22:28:19 GMT

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