public interface CSSValue
CSSValueinterface represents a simple or a complex value. A
CSSValueobject only occurs in a context of a CSS property.
See also the Document Object Model (DOM) Level 2 Style Specification.
|Modifier and Type||Field and Description|
The value is a custom value.
The value is inherited and the
The value is a primitive value and an instance of the
The value is a
static final short CSS_INHERIT
static final short CSS_PRIMITIVE_VALUE
CSSPrimitiveValueinterface can be obtained by using binding-specific casting methods on this instance of the
static final short CSS_VALUE_LIST
CSSValuelist and an instance of the
CSSValueListinterface can be obtained by using binding-specific casting methods on this instance of the
static final short CSS_CUSTOM
void setCssText(String cssText) throws DOMException
DOMException- SYNTAX_ERR: Raised if the specified CSS string value has a syntax error (according to the attached property) or is unparsable.
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.