Skip Menu |

This queue is for tickets about the CSS CPAN distribution.

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

Owner: Nobody in particular
Requestors: jammin [...]

Bug Information
Severity: Important
Broken in: 1.07
Fixed in: (no value)

Subject: CSS::Parse::Heavy and CSS::Parse::Compiled don't work for me
In trying to pin down the other bug I reported, I found that using CSS::Parse::Heavy or CSS::Parse::Compiled failed completely on the input file I was using. No error message was produced but the parse tree appeared to be completely empty. A bit more experimentation revealed that these parsers cannot cope with the use of single quotes in property values, like this: font-family: 'Trebuchet MS', 'Bitstream Vera Sans', sans-serif; If I changed them to double quotes: font-family: "Trebuchet MS", "Bitstream Vera Sans", sans-serif; it worked fine. Both single and double quotes are valid in CSS. Wherever single quotes appear in the input file, the parsers seem to give up (silently) at that point. I was getting a totally empty parse tree because the first block in my input file contained the above font-family spec (though not as the first line of the block -- the rest of the block was lost as well.) CSS::Parse::Lite is unaffected by this bug, and is in any case several orders of magnitude faster so I'm not clear what the point of the alternative parsers is...

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

Please report any issues with to