[Webkit-unassigned] [Bug 243887] New: Flexbox container width being computed incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 12 10:52:38 PDT 2022


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

            Bug ID: 243887
           Summary: Flexbox container width being computed incorrectly
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Compositing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sgill26 at apple.com
                CC: simon.fraser at apple.com

Created attachment 461564

  --> https://bugs.webkit.org/attachment.cgi?id=461564&action=review

Testcase

It seems like we disagree on the Flexbox computed width in certain cases. In the example I am using, we compute a width of 180. I think this is from 100px (content) + 80 px (border and padding being added twice to the child which is another bug). Both Firefox and Chrome compute a container size of 65px (the border box size of the child). So it seems like there are 2 possible issues here:

1.) We are incorrectly computing an initial content size of 100px (Unless this is correct and both Firefox/Chrome are wrong)
2.) Incorrectly adding border+padding twice to child width

-- 
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/20220812/3ec3da8a/attachment.htm>


More information about the webkit-unassigned mailing list