NAME

CSS::DOM::Value - CSSValue class for CSS::DOM

VERSION

Version 0.05

SYNOPSIS

# ...

DESCRIPTION

This module implements objects that represent CSS property values. It implements the DOM CSSValue interface.

METHODS

Constructor

Warning: This doesn't actually work properly yet. See also CSS::DOM::Value::Primitive, which has its own constructor.

You probably don't need to call this, but here it is anyway:

$val = new CSS::DOM::Value TYPE, $value;

where TYPE is CSS_INHERIT or CSS_CUSTOM.

Object Methods

cssText (not yet implemented)

Returns a string representation of the attribute. Pass an argument to set it.

cssValueType (not yet implemented)

Returns the array element at the given $index.

CONSTANTS

The following constants can be imported with use CSS::DOM::Value ':all'. They represent the type of CSS value.

CSS_INHERIT (0)
CSS_PRIMITIVE_VALUE (1)
CSS_VALUE_LIST (2)
CSS_CUSTOM (3)

SEE ALSO

CSS::DOM

CSS::DOM::Value::Primitive

CSS::DOM::Value::List (doesn't exist yet)

CSS::DOM::Style

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 113:

'=item' outside of any '=over'

Around line 121:

You forgot a '=back' before '=head1'