The manakai project

Web::DOM::CSSImportRule

The DOM CSSImportRule object

DESCRIPTION

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

METHOD

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

$string = $rule->href

Return the URL specified in the at-rule, possibly relative or broken. [CSSOM]

$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.

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.