Class BrowserPrefixGenerator
- java.lang.Object
-
- com.google.common.css.compiler.passes.BrowserPrefixGenerator
-
public final class BrowserPrefixGenerator extends java.lang.ObjectA 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 Modifier and Type Field Description static java.lang.StringBACKGROUND_IMAGEstatic java.lang.StringDISPLAY
-
Constructor Summary
Constructors Constructor Description BrowserPrefixGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.collect.ImmutableList<BrowserPrefixRule>getExpansionRules()Returns the rules for automatic expansion of mixins.
-
-
-
Field Detail
-
DISPLAY
public static final java.lang.String DISPLAY
- See Also:
- Constant Field Values
-
BACKGROUND_IMAGE
public static final java.lang.String BACKGROUND_IMAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getExpansionRules
public static com.google.common.collect.ImmutableList<BrowserPrefixRule> getExpansionRules()
Returns the rules for automatic expansion of mixins.
-
-