Cssvalue class for css::dom
Version 0.15
# ...
This module implements objects that represent \s-1CSS\s0 property values. It implements the \s-1DOM\s0 CSSValue interface.
This class is used only for custom values (neither primitive values nor lists) and the special 'inherit' value.
Returns a string representation of the attribute. Pass an argument to set it.
Returns one of the constants below.
You probably don't need to call this, but here it is anyway:
$val = new CSS::DOM::Value %arguments;
The hash-style %arguments are as follows:
\*(C`CSS_INHERIT\*(C' or \*(C`CSS_CUSTOM\*(C'
A string of \s-1CSS\s0 code. This is only used when \*(C`TYPE\*(C' is \*(C`CSS_CUSTOM\*(C'.
The style object that owns this value; if this is omitted, then the value is read-only. The value object holds a weak reference to the owner.
The name of the \s-1CSS\s0 property to which this value belongs. \*(C`cssText\*(C' uses this to determine how to parse text passed to it.
The following constants can be imported with \*(C`use CSS::DOM::Value ':all'\*(C'. They represent the type of \s-1CSS\s0 value.
\s-1CSS::DOM\s0
CSS::DOM::Value::Primitive
CSS::DOM::Value::List
CSS::DOM::Style