The manakai project

Web::DOM::CSSGroupingRule

The DOM CSSGroupingRule object

DESCRIPTION

The Web::DOM::CSSGroupingRule class implements the DOM CSSGroupingRule interface.

METHODS

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

$list = $rule->css_rules

Return the Web::DOM::CSSRuleList object containing the CSS rules in the rule. [CSSOM]

$rule->delete_rule ($index)

Return a rule from the list of rules contained by the rule. [CSSOM]

$index = $rule->insert_rule ($string, $index)

Parse the string as a CSS rule and insert into the specified index of the list of rules contained by the rule. [CSSOM]

Any CSSGroupingRule object is an instance of one of its subclasses. For example, a CSSGroupingRule object whose type is MEDIA_RULE is an instance of Web::DOM::CSSMediaRule. There is the following subclass:

Web::DOM::CSSMediaRule.

DEPENDENCY

See "DEPENDENCY" in Web::DOM.

SPECIFICATION

CSSOM

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

SEE ALSO

Web::DOM::CSSRule.

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.