Class BrowserPrefixGenerator
java.lang.Object
com.google.common.css.compiler.passes.BrowserPrefixGenerator
A utility for the AutoExpandBrowserPrefix pass, which provides a list of rules
that govern automatic addition of browser specific property declarations.
Currently three most common cases are handled: #1 Matching and replacing only the property name. Eg. flex-grow: VALUE; #2 Matching property name and value, replacing the value. Eg. display: flex; #3 Matching property name and value where value is a function, replacing the function name. Eg. background-image: linear-gradient(ARGS);
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<BrowserPrefixRule>Returns the rules for automatic expansion of mixins.
-
Field Details
-
DISPLAY
- See Also:
-
BACKGROUND_IMAGE
- See Also:
-
-
Constructor Details
-
BrowserPrefixGenerator
public BrowserPrefixGenerator()
-
-
Method Details
-
getExpansionRules
Returns the rules for automatic expansion of mixins.
-