Query: css::dom::rule::charset
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CSS::DOM::Rule::Charset(3pm) User Contributed Perl Documentation CSS::DOM::Rule::Charset(3pm)NAMECSS::DOM::Rule::FontFace - CSS @font-face rule class for CSS::DOMVERSIONVersion 0.14SYNOPSISuse CSS::DOM; my $font_face_rule = CSS::DOM->parse( '@font-face { font-family: "bm"; src: url(blackmoor.ttf) }' )->cssRules->[0]; $page_rule->style; # a CSS::DOM::Style object $page_rule->style->src; # 'url(blackmoor.ttf)'DESCRIPTIONThis module implements CSS @font-face rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSFontFaceRule DOM interface.THE METHODstyle 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::Charset(3pm)