Bug 936935: Mark lines dirty more accurately in Bidi resolution, r=roc
Optimize bidi resolution on blocks without mixed-direction text. Bug 646359, r=roc