CSS::DOM::Rule::Media man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

CSS::DOM::Rule::Media(User Contributed Perl DocumentatCSS::DOM::Rule::Media(3)

NAME
       CSS::DOM::Rule::Media - CSS @media rule class for CSS::DOM

VERSION
       Version 0.14

SYNOPSIS
	 use CSS::DOM;
	 my $media_rule = CSS::DOM->parse(
	     '@media print { body { background: none } }'
	 )->cssRules->[0];

	 # OR:
	 use CSS::DOM::Rule::Media;
	 my $media_rule = new CSS::DOM::Rule::Media $parent;
	 push @{$media_rule->media}, 'print';
	 $media_rule->insertRule('body { background: none }')

DESCRIPTION
       This module implements CSS @media rules for CSS::DOM. It inherits from
       CSS::DOM::Rule and implements the CSSMediaRule DOM interface.

METHODS
       media
	   Returns the MediaList associated with the @media rule (or a plain
	   list in list context). This defaults to an empty list. You can pass
	   a comma-delimited string to the MediaList's "mediaText" method to
	   set it.

       cssRules
	   In scalar context, this returns a CSS::DOM::RuleList object (simply
	   a blessed array reference) of CSS::DOM::Rule objects. In list
	   context it returns a list.

       insertRule ( $css_code, $index )
	   Parses the rule contained in the $css_code, inserting it the @media
	   rule's list of subrules at the given $index.

       deleteRule ( $index )
	   Deletes the rule at the given $index.

SEE ALSO
       CSS::DOM

       CSS::DOM::Rule

       CSS::DOM::MediaList

perl v5.14.1			  2010-12-10	      CSS::DOM::Rule::Media(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net