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

Re: [css3-animations] CSSKeyframeRule.keyText is wrong

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 14 Aug 2012 21:32:13 -0400
Message-ID: <502AFC1D.6050502@mit.edu>
To: www-style@w3.org
On 8/14/12 7:21 PM, Tab Atkins Jr. wrote:
>   I don't know if this can be changed at this point

I'd sure hope it can, since for this testcase:

   <!DOCTYPE html>
   <style>
     @keyframes foo {
       50%, 25% { color: green; }
     }
   </style>
   <script>
     alert(document.styleSheets[0].cssRules[0].cssRules[0].keyText);
   </script>

I get "50%,25%" in WebKit, "50%, 25%" in Gecko, and "50%, 25%" in Opera. 
  Unfortunately, I don't have a Windows system with me right now to test IE.

As in, all the implementations I can test do the correct sane thing here 
(modulo the missing space in WebKit), and the spec draft is just wrong.

-Boris
Received on Wednesday, 15 August 2012 01:32:42 GMT

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