Alternate CSS::Parse module to pack duplicated selectors.
Perl Other
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/CSS/Parse
t
xt
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile
minil.toml

README.md

Build Status

NAME

CSS::Parse::Packed - A CSS::Parse module packed duplicated selectors.

SYNOPSIS

use CSS;
my $css = CSS->new({ parser => 'CSS::Parse::Packed' });

DESCRIPTION

This module is a parser for CSS.pm. It parsing CSS by regular expression based on CSS::Parse::Lite and packed duplicated selectors.

EXAMPLE

Original is:

body { background-color:#FFFFFF; font-size: 1em; }
body { padding:6px; font-size: 1.5em; }

After parsing:

body { padding: 6px; background-color: #FFFFFF; font-size: 1.5em }

SEE ALSO

CSS, CSS::Parse::Lite

AUTHOR

Hiroshi Sakai <ziguzagu@cpan.org>

LICENCE AND COPYRIGHT

Copyright (c) 2007, Hiroshi Sakai <ziguzagu@cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.