Skip Menu |

This queue is for tickets about the CSS CPAN distribution.

Report information
The Basics
Id: 60803
Status: new
Priority: 0/
Queue: CSS

People
Owner: Nobody in particular
Requestors: ROBINS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.08
Fixed in: (no value)



Subject: Parsing inline CSS (without a selector) should be possible
I would have expected this line of code to work: $ perl -MCSS -e 'my $css=CSS->new()->read_string("width:0;height:34px");' Invalid or unexpected style data 'width:0;height:34px' at /home/robin/perl5/lib/perl5/CSS.pm line 76 That chunk of CSS is quite common to deal with if you're trying to manipulate HTML tags with inline style attributes. The current implementation only handles standalone stylesheets.