public class CSSStyleDeclaration extends HtmlUnitScriptable
CSSStyleDeclaration.org.htmlunit.corejs.javascript.ScriptableObject.DescriptorInfo, org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator, org.htmlunit.corejs.javascript.ScriptableObject.LambdaGetterFunction, org.htmlunit.corejs.javascript.ScriptableObject.LambdaSetterFunctionCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
CSSStyleDeclaration()
Creates an instance.
|
CSSStyleDeclaration(Element element,
AbstractCssStyleDeclaration styleDeclaration)
Creates an instance and sets its parent scope to the one of the provided element.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int index,
org.htmlunit.corejs.javascript.Scriptable start) |
Object |
get(String name,
org.htmlunit.corejs.javascript.Scriptable start)
Gets a named property from the object.
|
String |
getBackgroundAttachment()
Gets the
backgroundAttachment style attribute. |
String |
getBackgroundColor()
Gets the
backgroundColor style attribute. |
String |
getBackgroundImage()
Gets the
backgroundImage style attribute. |
String |
getBackgroundPosition()
Gets the |