[Webkit-unassigned] [Bug 209203] New: [css-grid] Changes in grid or elements inside the grid affects margin on other elements in the grid

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 17 16:16:54 PDT 2020


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

            Bug ID: 209203
           Summary: [css-grid] Changes in grid or elements inside the grid
                    affects margin on other elements in the grid
           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: jfernandez at igalia.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 393799

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

Test case to reproduce the issue

Margin should not be affected when other elements' content are modified in the grid.

It seems that we are not recalculating correctly the auto margins when the grid's size changes.
Apparently, the root case is that the grid item's margins are not cleared when their container is laid out again, due to a size (width in this case) change.

-- 
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/20200317/99762282/attachment-0001.htm>


More information about the webkit-unassigned mailing list