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 \s-1CSS::DOM\s0.

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 \s-1CSS::DOM\s0 modules):

:exception

All the constants listed under \*(L"\s-1EXPORTS\s0\*(R" in CSS::DOM::Exception.

:rule

All the constants listed under \*(L"\s-1EXPORTS\s0\*(R" in CSS::DOM::Rule.

:value

All the constants listed under \*(L"\s-1CONSTANTS\s0\*(R" in CSS::DOM::Value.

:primitive

All the constants listed under \*(L"\s-1CONSTANTS\s0\*(R" 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 \*(C`CSS_PX\*(C'). This is included in the ':all' tag.

RELATED TO CSS::DOM::Constants…

\s-1CSS::DOM\s0

CSS::DOM::Exception

CSS::DOM::Rule