Closed
Description
If I have a CSS rule as follows (this is in your example css):
div.rating-cancel,div.star-rating{width:17px;height:15px;}
The CSSRule->__toString either throws an error, or it looks like this:
width: Object;
The problem is on line 707 when it tries to implode a comma into the values. When a value is a CSSSize, it produces the above result.
For you to test this, in your CSSParserTests.php file,
change line 19 to:
$oDoc = $oParser->parse();
and add this line after the catch clause
echo $oDoc->__toString();
Metadata
Metadata
Assignees
Labels
No labels