Class BrowserPrefixRule
java.lang.Object
com.google.common.css.compiler.passes.BrowserPrefixRule
A utility for the AutoExpandBrowserPrefix pass, which provides a list of rules
that govern automatic addition of browser specific property declarations.
A rule could be matched on property name or value alone, or both property name and value. If the value is a function, then the function names must match.
Each rule, if matched, provides a set of placeholder expansion nodes - which will be cloned and swapped into the tree, as part of AutoExpandBrowserPrefix pass.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Method Details
-
getMatchPropertyName
-
getMatchPropertyValue
-
isFunction
public boolean isFunction() -
getExpansionNodes
- Returns:
- A list of expansion nodes that contain a property names, and may contain a value. These nodes should be used when replacing declarations by matching property name.
-