Bug 125831

Summary: Fix PlacedFloatsTree to not require truncation of the interval endpoints
Product: WebKit Reporter: Bem Jones-Bey <bjonesbe>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: changseok, esprehn+autocc, ews-watchlist, glenn, Hironori.Fujii, kondapallykalyan, pdr
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=249571
https://bugs.webkit.org/show_bug.cgi?id=124506
Attachments:
Description Flags
WIP patch
ews-feeder: commit-queue-
WIP patch ews-feeder: commit-queue-

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