NAME¶
CSS::DOM::Constants - Constants for CSS::DOM
VERSION¶
Version 0.15
SYNOPSIS¶
use CSS::DOM::Constants ':all';
# or
use CSS::DOM::Constants ':rule';
# or individually
use CSS::DOM::Constants 'SYNTAX_ERR', ...;
DESCRIPTION¶
This module provides all the constants used by CSS::DOM.
EXPORTS¶
You can import individual constants by name, or all of them with the ':all' tag.
In addition, you can specify one of the following tags, to import a group of
constants (which can also be imported from other CSS::DOM modules):
- :exception
- All the constants listed under "EXPORTS" in
CSS::DOM::Exception.
- :rule
- All the constants listed under "EXPORTS" in CSS::DOM::Rule.
- :value
- All the constants listed under "CONSTANTS" in
CSS::DOM::Value.
- :primitive
- All the constants listed under "CONSTANTS" in
CSS::DOM::Value::Primitive.
There is also a %SuffixToConst hash which maps dimension suffixes (such as 'px';
all lowercase) to CSSPrimitiveValue type constants (such as
"CSS_PX"). This is included in the ':all' tag.
SEE ALSO¶
CSS::DOM
CSS::DOM::Exception
CSS::DOM::Rule