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

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 UTC