CSS::DOM::Constants - Constants for CSS::DOM


CSS-DOM documentation  | view source Contained in the CSS-DOM distribution.

Index


NAME

Top

CSS::DOM::Constants - Constants for CSS::DOM

VERSION

Top

Version 0.14

SYNOPSIS

Top

  use CSS::DOM::Constants ':all';

  # or

  use CSS::DOM::Constants ':rule';

  # or individually

  use CSS::DOM::Constants 'SYNTAX_ERR', ...;

DESCRIPTION

Top

This module provides all the constants used by CSS::DOM.

EXPORTS

Top

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

Top

CSS::DOM

CSS::DOM::Exception

CSS::DOM::Rule


CSS-DOM documentation  | view source Contained in the CSS-DOM distribution.