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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 409
Download (untitled) / with headers
text/plain 409b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.