| CSS-DOM documentation | view source | Contained in the CSS-DOM distribution. |
CSS::DOM::Constants - Constants for CSS::DOM
Version 0.14
use CSS::DOM::Constants ':all'; # or use CSS::DOM::Constants ':rule'; # or individually use CSS::DOM::Constants 'SYNTAX_ERR', ...;
This module provides all the constants used by CSS::DOM.
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):
All the constants listed under EXPORTS in CSS::DOM::Exception.
All the constants listed under EXPORTS in CSS::DOM::Rule.
All the constants listed under CONSTANTS in CSS::DOM::Value.
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.
| CSS-DOM documentation | view source | Contained in the CSS-DOM distribution. |