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

RE: [css3-animations] Case sensitivity of 'animation-name'

From: James Ross <silver@warwickcompsoc.co.uk>
Date: Wed, 16 Jan 2013 13:00:50 +0000
Message-ID: <DUB002-W124B509CA20C6D152BA9607E32C0@phx.gbl>
To: "www-style@w3.org" <www-style@w3.org>
> Date: Wed, 16 Jan 2013 11:28:38 +0100
> To: www-style@w3.org
> From: oyvinds@opera.com
> Subject: [css3-animations] Case sensitivity of 'animation-name'
>
> (Apropos the current "case sensitivity in CSS" discussion...)
>
> The spec should probably say whether 'animation-name' matches
> case-sensitively. It seems Gecko/WebKit/Presto agree that it does. (I
> don't have IE handy to check at the moment.)

IE10 animates the following, which I believe means 'animation-name' is matched (at least ASCII-) case-insensitively:

<!doctype html>
<style>
  div {
    position: absolute;
    animation-name: DIAgonal-slide;
    animation-duration: 5s;
  }
  @keyframes diagONal-slide {
    from {
      left: 0;
    }
    to {
      left: 100px;
    }
  }
</style>
<div>Hello world.</div>

--
James Ross silver@warwickcompsoc.co.uk 		 	   		  
Received on Wednesday, 16 January 2013 13:01:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT