Ensure that skin files can house CSS3 keyframe animations
---------------------------------------------------------

                 Key: TRINIDAD-2175
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2175
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Skinning
            Reporter: Matt Cooper


After seeing TRINIDAD-2107, it got me thinking about CSS3 keyframe animations.  
I have not tested it but I suspect it suffers from the same kind of issue 
described in 2107 because "@keyframes" is not a previously-known @-rule so 
Trinidad might choke on it and the new syntax for the nested style blocks with 
% or named (e.g. "from"/"to") prefixes may fail parsing and probably don't 
support skinning aliases and variables.  (One final note... "my-move" should 
not be compressed into a new name because it can be used by other inlineStyles 
or style blocks.)

Here's some example styling to test if it passes through to generation:

@keyframes my-move { 
  0% { top: 10px; background-color: red; } 
  50% { top: 100px; background-color: green; } 
  100% { top: 500px; background-color: blue; } 
} 

@-moz-keyframes my-move { 
  0% { top: 10px; background-color: red; } 
  50% { top: 100px; background-color: green; } 
  100% { top: 500px; background-color: blue; } 
} 

@-webkit-keyframes my-move { 
  0% { top: 10px; background-color: red; } 
  50% { top: 100px; background-color: green; } 
  100% { top: 500px; background-color: blue; } 
}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to