Currently we take floats but always paint at whole y coordinates. This patch will preserve that behavior with the sub-pixel conversion. Otherwise, some underlines and strike-throughs end up midway between two pixels.
Created attachment 142556 [details]
Comment on attachment 142556 [details]
Does Skia floor the X for us? I'm confused?
(In reply to comment #2)
> (From update of attachment 142556 [details])
> Does Skia floor the X for us? I'm confused?
I'm going to add a comment. We always draw these lines horizontally. Sub-pixel x values are normal and acceptable.
Forgot to comment... landed in r117528 <http://trac.webkit.org/changeset/117528>