public final class PrefixTablesUtil extends Object
PrefixTables
.Modifier and Type | Method and Description |
---|---|
static boolean |
isPrefixableAtRule(String name)
Gets whether prefix info exists for the given at-rule.
|
static boolean |
isPrefixableFunction(String function)
Gets whether prefix info exists for the given function name.
|
static boolean |
isPrefixableKeyword(Keyword keyword)
Gets whether prefix info exists for the given keyword.
|
static boolean |
isPrefixableProperty(Property property)
Gets whether prefix info exists for the given
Property . |
static boolean |
isPrefixableSelector(String name)
Gets whether prefix info exists for the given selector name.
|
static Double |
lastVersionAtRuleIsPrefixed(String name,
Browser browser)
Gets the last version of the given browser that requires a prefix for the given at-rule.
|
static Double |
lastVersionFunctionIsPrefixed(String name,
Browser browser)
Gets the last version of the given browser that requires a prefix for the given function name.
|
static Double |
lastVersionKeywordIsPrefixed(Keyword keyword,
Browser browser)
Gets the last version of the given browser that requires a prefix for the given keyword.
|
static Double |
lastVersionPropertyIsPrefixed(Property property,
Browser browser)
Gets the last version of the given browser that requires a prefix for the given property.
|
static Double |
lastVersionSelectorIsPrefixed(String name,
Browser browser)
Gets the last version of the given browser that requires a prefix for the given selector name.
|
public static boolean isPrefixableProperty(Property property)
Property
.property
- Check if prefix info exists for this property.public static boolean isPrefixableKeyword(Keyword keyword)
keyword
- Check if prefix info exists for this keyword.public static boolean isPrefixableAtRule(String name)
name
- Check if prefix info exists for this at-rule.public static boolean isPrefixableSelector(String name)
name
- Check if prefix info exists for this selector name.public static boolean isPrefixableFunction(String function)
function
- Check if prefix info exists for this function name.public static Double lastVersionPropertyIsPrefixed(Property property, Browser browser)
property
- The property.browser
- The browser.public static Double lastVersionKeywordIsPrefixed(Keyword keyword, Browser browser)
keyword
- The keyword.browser
- The browser.public static Double lastVersionAtRuleIsPrefixed(String name, Browser browser)
name
- The at-rule name.browser
- The browser.public static Double lastVersionSelectorIsPrefixed(String name, Browser browser)
name
- The selector name.browser
- The browser.public static Double lastVersionFunctionIsPrefixed(String name, Browser browser)
name
- The function name.browser
- The browser.Copyright (c) 2019, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE file in the repository.