Query: css::dom::rule::page
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CSS::DOM::Rule::Page(3pm) User Contributed Perl Documentation CSS::DOM::Rule::Page(3pm)NAMECSS::DOM::Rule::Page - CSS @page rule class for CSS::DOMVERSIONVersion 0.14SYNOPSISuse 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'DESCRIPTIONThis module implements CSS @page rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSPageRule DOM interface.METHODSselectorText 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.SEE ALSOCSS::DOM CSS::DOM::Style CSS::DOM::Rule perl v5.10.1 2010-12-10 CSS::DOM::Rule::Page(3pm)