This parser should parse conform css specs,and should at least do okay on these test.
- http://www.w3.org/Style/CSS/Test/CSS2.1/current/
The following url's are breaking;
- http://www.w3.org/Style/CSS/Test/CSS2.1/current/t0402-syntax-05-f.htm
- http://www.w3.org/Style/CSS/Test/CSS2.1/current/t0402-syntax-06-f.htm
- http://www.w3.org/Style/CSS/Test/CSS2.1/current/t040103-ident-03-c.htm (like firefox 2.0.*)
Found a bug? need the code? (gpl)
Let me know: janklopper+cssparser at gmail.com
Insert a css stylesheet and have it parsed to a php array.