[Webkit-unassigned] [Bug 210784] New: [css-flexbox][css-sizing] An image element inside a flex element doesn't resize correctly if the size its checked before resizing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 20 21:38:23 PDT 2020


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

            Bug ID: 210784
           Summary: [css-flexbox][css-sizing] An image element inside a
                    flex element doesn't resize correctly if the size its
                    checked before resizing
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com

This is a weird bug, check the following test case:

https://codepen.io/cl0p3z/pen/QWjKYWm?editors=1111

On the above test if you comment the first line on the JS tab. The one with the console.log("Target size before resize is "...) then the test will pass.
That doesn't make sense since its a simple console.log() line.

It seems that checking the size of the target element before doing the resize affects the end result (the size after doing the resize).

This bug is causing the WPT test https://wpt.live/css/css-sizing/percentage-height-in-flexbox.html to fail (the second test)

-- 
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/20200421/9ce54dec/attachment.htm>


More information about the webkit-unassigned mailing list