Bug 114800 - fast/sub-pixel/float-wrap-zoom.html fails
Summary: fast/sub-pixel/float-wrap-zoom.html fails
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2013-04-18 03:20 PDT by Allan Sandfeld Jensen
Modified: 2014-12-09 23:30 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Allan Sandfeld Jensen 2013-04-18 03:20:11 PDT
The reference test fast/sub-pixel/float-wrap-zoom.html fails on both Mac and Qt with SUBPIXEL_LAYOUT enabled.

The issue appears to be that the left box is 16.5px wide, which in a float gets rounded up to 17px, but in inline layout stays at 16.5px. The following text run is then painted at respectably 16.5 or 17. If the coordinates of a text-run is rounded before being painted, the reference test succedes.
Comment 1 Allan Sandfeld Jensen 2013-04-18 03:25:57 PDT
Committed r148664: <http://trac.webkit.org/changeset/148664>
Comment 2 Allan Sandfeld Jensen 2013-04-18 03:26:26 PDT
Landed updated expectation. Bug is still valid.
Comment 3 Alexey Proskuryakov 2014-12-09 23:30:24 PST
This doesn't appear to happen on bots at this time. Will try unmarking.