Default for media-dependent CSS processing
Web::CSS::MediaResolver class can be used as an implementation of the media-dependent CSS and/or Media Queries processing adaptor for the
$mr = Web::CSS::MediaResolver->new
Create a new instance of the media resolver.
Set the "supported" flag to true value.
- all => 1
Set the "supported" flag of all known constructs.
- all_functions => 1
Set the "supported" flag of all known CSS functional notations.
- all_props => 1
Set the "supported" flag of all known CSS properties.
- all_prop_values => 1
Set the "supported" flag of all known CSS property values.
- all_pseudo_classes => 1
Set the "supported" flag of all known pseudo-classes.
- all_pseudo_elements => 1
Set the "supported" flag of all known pseudo-elements.
- all_media_features => 1
Set the "supported" flag of all known media features.
The media resolver enables the CSS implementation build on top of the parser to control whether features are supported or not. However, features listed in this section cannot be disabled by the media resolver so that they must be supported.
Selectors: Type, universal, attribute, class, and ID selectors. Descendant and child selectors. Direct or indirect adjacent selectors.
Media queries: Media types.
At-rules: '@charset', '@namespace' (Handled by the parser). '@import', '@media'.
Style rules: '!important'. 'inherit', 'initial', 'unset'.
Units: Relative and absolute length units. Angle units. Resolution units. Time units. Frequency units.
Copyright 2007-2013 Wakaba <firstname.lastname@example.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Hey! The above document had some coding errors, which are explained below:
- Around line 55:
You forgot a '=back' before '=head1'