Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.7.1

Bug #18769 CSS Tokenizer doesn't replace T_BREAK tokens inside some styles
Submitted: 2011-08-30 15:24 UTC
From: gennadiylitvinyuk Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.3.0)
PHP Version: 5.3.7 OS: -
Roadmaps: (Not assigned)    

 [2011-08-30 15:24 UTC] gennadiylitvinyuk (Gennadiy Litvinyuk)
Description: ------------ CSS Tokenizer has problems during tokenizing some styles with 'break' in their names: page-break-* It looks like the same problem like in #18633


 [2011-08-30 15:45 UTC] gennadiylitvinyuk (Gennadiy Litvinyuk)
A fix would be a little bit complicated, because it splits T_STYLE in multiple tokens. For example: Have: T_STRING ("page") T_MINUS ("-") T_BREAK ("break") T_STYLE ("-inside") Should be: T_STYLE ("page-break-inside")
 [2011-09-12 09:21 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.