The manakai project

Web::DOM::CSSStyleRule

The DOM CSSStyleRule object

DESCRIPTION

The Web::DOM::CSSStyleRule class implements the DOM CSSStyleRule interface. It represents a CSS style rule.

METHODS

In addition to the methods of the Web::DOM::CSSRule class, following methods are available:

$string = $rule->selector_text
$rule->selector_text ($string)

Return or set the list of selectors associated with the style rule. [CSSOM]

$style = $rule->style

Return the Web::DOM::CSSStyleDeclaration object of the style rule. [CSSOM]

$rule->style ($string)

Set the list of declarations of the style rule. [CSSOM]

DEPENDENCY

See "DEPENDENCY" in Web::DOM.

SPECIFICATION

CSSOM

CSSOM <http://dev.w3.org/csswg/cssom/>.

SEE ALSO

Web::DOM::CSSRule, Web::DOM::CSSStyleDeclaration.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2012-2013 Wakaba <wakaba@suikawiki.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.