Class ProcessKeyframes

java.lang.Object
com.google.common.css.compiler.ast.DefaultTreeVisitor
com.google.common.css.compiler.passes.ProcessKeyframes
All Implemented Interfaces:
AtRuleHandler, CssCompilerPass, CssTreeVisitor

public class ProcessKeyframes extends DefaultTreeVisitor implements CssCompilerPass
Compiler pass which ensures that @keyframes rules are only allowed if they are enabled. In addition this pass checks if the keys are between 0% and 100%. If CSS simplification is enabled, "from" is replaced by "0%" and "100%" is replaced by "to".