Package org.htmlunit.css
Class StyleAttributes
java.lang.Object
org.htmlunit.css.StyleAttributes
- All Implemented Interfaces:
Serializable
Contains information about the style attribute defined for different browser as well as their default values.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Holds information about a style attribute (CSS name, property name, browser availability, default computed value. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StyleAttributes.Definition
getDefinition
(String propertyName, BrowserVersion browserVersion) Gets the style attributes definition with the given name for the specified browser version.static List
<StyleAttributes.Definition> getDefinitions
(BrowserVersion browserVersion) Gets the style attributes definitions for the specified browser version.
-
Field Details
-
styles_
-
-
Constructor Details
-
StyleAttributes
private StyleAttributes()
-
-
Method Details
-
getDefinition
public static StyleAttributes.Definition getDefinition(String propertyName, BrowserVersion browserVersion) Gets the style attributes definition with the given name for the specified browser version.- Parameters:
propertyName
- the name of the propertybrowserVersion
- the browser version- Returns:
null
if no definition exists for this browser version
-
getDefinitions
Gets the style attributes definitions for the specified browser version.- Parameters:
browserVersion
- the browser version- Returns:
- the list
-