Rechercher une page de manuel
CSS::DOM::Rule::Style.3pm
Langue: en
Version: 2010-08-23 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
CSS::DOM::Rule::Style - CSS style rule class for CSS::DOMVERSION
Version 0.13SYNOPSIS
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'
DESCRIPTION
This module implements CSS style rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSStyleRule 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.
SEE ALSO
CSS::DOMCSS::DOM::Style
CSS::DOM::Rule
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre