1CSS::Property(3)      User Contributed Perl Documentation     CSS::Property(3)
2
3
4

NAME

6       CSS::Property - A property in a CSS object tree
7

SYNOPSIS

9         use CSS;
10

DESCRIPTION

12       This module represents a property in a CSS object tree.  Read the
13       CSS.pm pod for information about the CSS object tree.
14

METHODS

16   CONSTRUCTORS
17       "new()" or "new( { ..options.. } )"
18           This constructor returns a new "CSS::Property" object, with an
19           optional hash of options.
20
21             property      property name (as string)
22             value         simple value string
23             adaptor       adaptor to use for serialization
24
25           If the "value" option is passed, a "CSS::Value" object is
26           automatically created and added to the object's values list.
27
28   ACCESSORS
29       "set_adaptor( 'CSS::Adaptor::Foo' )"
30           This method sets the current adaptor for the object.
31
32       "values()"
33           This method is used to serialize the property's values, using the
34           current adaptor. It returns a string which comes from the adaptor's
35           "output_values()" method.
36

AUTHOR

38       Copyright (C) 2003-2004, Cal Henderson <cal@iamcal.com>
39

SEE ALSO

41       CSS, http://www.w3.org/TR/REC-CSS1
42
43
44
45perl v5.30.0                      2019-07-26                  CSS::Property(3)
Impressum