The manakai project

Web::DOM::CSSMediaRule

The DOM CSSMediaRule object

DESCRIPTION

The Web::DOM::CSSMediaRule class implements the DOM CSSMediaRule interface. It represents an @media at-rule.

METHODS

In addition to the methods of classes Web::DOM::CSSRule and Web::DOM::CSSGroupingRule, following methods are available:

$media_list = $rule->media

Return the Web::DOM::MediaList representing the list of media queries of the rule. [CSSOM]

$rule->media ($string)

Set the specified string as the list of media queries of the rule. [CSSOM]

DEPENDENCY

See "DEPENDENCY" in Web::DOM.

SPECIFICATION

CSSOM

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

SEE ALSO

Web::DOM::CSSRule, Web::DOM::CSSGroupingRule.

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.