RESOLVED FIXED 204986
[LFC][IFC] Introduce InlineLayoutUnit
https://bugs.webkit.org/show_bug.cgi?id=204986
Summary [LFC][IFC] Introduce InlineLayoutUnit
zalan
Reported 2019-12-07 07:48:26 PST
While IFC uses LayoutUnit only, CLL has a mixture of different types like float, int and LayoutUnit. In order to match CLL's output, IFC needs to use similar types (or at least types with similar precision). Using LayoutUnit exclusively (and by that lowering the precision compared to what CLL ends up having) could cause significant difference in the final inline layout. Let's introduce these 2 new types and map them to float, FloatRect 1. to be able to match CLL's output 2. ensure that we use one type and one type only for geometry computation (can't really force it though). 3. be able to swap out the mapped type to something else when needed (like when we move over to a higher precision LayoutUnit)
Attachments
Patch (58.98 KB, patch)
2019-12-07 09:23 PST, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2019-12-07 08:42:31 PST
Radar WebKit Bug Importer
Comment 2 2019-12-07 08:51:41 PST
zalan
Comment 3 2019-12-07 09:23:17 PST
WebKit Commit Bot
Comment 4 2019-12-07 10:18:24 PST
Comment on attachment 385100 [details] Patch Clearing flags on attachment: 385100 Committed r253255: <https://trac.webkit.org/changeset/253255>
WebKit Commit Bot
Comment 5 2019-12-07 10:18:26 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.