CSS::DOM::Rule::Page3pm
Css @page rule class for css::dom
Usage
use CSS::DOM;my $page_rule = CSS::DOM->parse('@page :first { stuff: other stuff }')->cssRules->[0];$page_rule->selectorText; # '@page :first'$page_rule->style; # a CSS::DOM::Style object$page_rule->style->stuff; # 'other stuff'
Version
Version 0.17
Overview
This module implements CSS @page rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSPageRule DOM interface.
Methods
- selectorText
-
Returns a string representing the selector(s). Pass an argument to set it.
- style
-
Returns the CSS::DOM::Style object representing the declaration block of this rule.
Releases
7 releases since Debian 7 (Wheezy); the text changed 5 times.