Bug 125831 - Fix PlacedFloatsTree to not require truncation of the interval endpoints
Summary: Fix PlacedFloatsTree to not require truncation of the interval endpoints
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-16 21:54 PST by Bem Jones-Bey
Modified: 2022-12-23 00:28 PST (History)
7 users (show)

See Also:


Attachments
WIP patch (1.19 KB, patch)
2022-12-21 22:49 PST, Fujii Hironori
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
WIP patch (41.89 KB, patch)
2022-12-22 22:18 PST, Fujii Hironori
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bem Jones-Bey 2013-12-16 21:54:57 PST
While the PlacedFloatsTree uses LayoutUnits, when the intervals are added for a floating object, the endpoints of the interval are floored before being added to the tree. This is the way to not lose the fix from Bug 112744 when a float has a fractional height that is an exact multiple of the line height. There really should be a better solution that doesn't require this truncation.
Comment 1 Fujii Hironori 2022-12-21 22:49:45 PST
Created attachment 464162 [details]
WIP patch
Comment 2 Fujii Hironori 2022-12-22 22:18:12 PST
Created attachment 464172 [details]
WIP patch