[Webkit-unassigned] [Bug 248096] New: Store replaced element aspect ratio dimensions in its own data structure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 18 11:58:42 PST 2022


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

            Bug ID: 248096
           Summary: Store replaced element aspect ratio dimensions in its
                    own data structure
           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: sgill26 at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Replaced elements are currently computing their aspect ratio fairly deep into the call stack and then propagating the computed double back up. This has been introducing some slight precision issues when working with replaced elements and their aspect ratio. Instead the dimensions associated with the ratio should be stored in their own struct and then propagated back up the computeIntrinsicRatioInformation stack. The caller can then decide how they want to use the ratio (compute into a double or use individual dimensions).

-- 
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/20221118/baebff9c/attachment.htm>


More information about the webkit-unassigned mailing list