[Webkit-unassigned] [Bug 204986] New: [LFC][IFC] Introduce InlineLayoutUnit and InlineRect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 7 07:48:26 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=204986

            Bug ID: 204986
           Summary: [LFC][IFC] Introduce InlineLayoutUnit and InlineRect
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zalan at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191207/4710afe1/attachment.htm>


More information about the webkit-unassigned mailing list