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

Bug #12039 grepStyle
Submitted: 2007-09-12 21:53 UTC
From: doki Assigned: farell
Status: Wont fix Package: HTML_CSS (version 1.2.0)
PHP Version: 5.2.0 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-09-12 21:53 UTC] doki (Stefan Doktor)
Description: ------------ grepStyle does only find correct on selectors, properties arn't matched at all. In the line where array_keys is called to get the properties names the result is not the keys with properties its the number of the properties !

Comments

 [2007-09-12 22:23 UTC] farell (Laurent Laville)
Could you give me a test script that will explain the problem ?
 [2007-09-17 21:50 UTC] farell (Laurent Laville)
With stylesheet and limited test script gave offline, I've verified the problem. And No, the array is not empty but some serious warning were raised. And for this reason, I'll give a fix on upcoming release 1.2.1
 [2007-09-20 21:16 UTC] farell (Laurent Laville)
Following my answers to offline mail, I confirm that there won't be any fix for this issue because, it's not a grepStyle() problem. You've used a stylesheet "prosilver.css" that is not valid. I recommend in future to validate first the stylesheet used with CSS WC3 validator : http://jigsaw.w3.org/css-validator/#validate-by-upload before to declare a bug.