CSS::DOM::Rule::Charset3pm
Css @font-face rule class for css::dom
Usage
use 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)'
Version
Version 0.17
Overview
This module implements CSS @font-face rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSFontFaceRule DOM interface.
The method
- 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.