Fix and clean phantom lines detection
Fix broken tests
Use real ex values for vertical-align: middle