|
NAMECSS::DOM::Rule::Style - CSS style rule class for CSS::DOM VERSIONVersion 0.17 SYNOPSIS use CSS::DOM;
my $ruleset = CSS::DOM->parse(
'p:firstline, h3 { font-weight: bold }'
)->cssRules->[0];
$ruleset->selectorText; # 'p:firstline, h3'
$ruleset->style; # a CSS::DOM::Style object
$ruleset->style->fontWeight; # 'bold'
DESCRIPTIONThis module implements CSS style rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSStyleRule DOM interface. METHODS
SEE ALSOCSS::DOM CSS::DOM::Style CSS::DOM::Rule
|