patrickroux / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

[PATCH] Fix CSS :nth-child() pseudo-selector #536

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When parsing CSS, the parser didn't properly skip the complete token; which 
resulted in it trying to parse the contents of the selector (again).
This made it parse e.g. "td:nth-child(n+2)" as "td:nth-child(n+2) + 2".

This patch fixes that behaviour.

Original issue reported on code.google.com by mcuelena...@gmail.com on 22 Sep 2012 at 2:37

Attachments:

GoogleCodeExporter commented 9 years ago
That does, indeed, seem to fix this particular issue (though it does highlight 
another one). Thanks!

Original comment by eclecticgeek on 24 Sep 2012 at 2:51

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00