Fix and clean phantom lines detection
Fix and clean phantom lines detection

andrewleech/WeasyPrint,Kozea/WeasyPrint,andrewleech/WeasyPrint,marclaporte/WeasyPrint,Kozea/WeasyPrint,jasco/WeasyPrint,prepare/TestWeasyPrint,prepare/TestWeasyPrint,jasco/WeasyPrint,marclaporte/WeasyPrint