Bug 1705619 [wpt PR 28532] - [GridNG] Out of flow items with the parent of the grid...
commitd5588894286f5172052b3593df7eb25302fe6083
authorAna SollanoKim <ansollan@microsoft.com>
Fri, 7 May 2021 19:47:06 +0000 (7 19:47 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 8 May 2021 03:13:59 +0000 (8 03:13 +0000)
tree0ee162650e13fc5c7aa17f53961e04d1327c08e9
parentd5dec181270b5d802f3f2e6f5d9dfeba4dc5b4cb
Bug 1705619 [wpt PR 28532] - [GridNG] Out of flow items with the parent of the grid as a containing block, a=testonly

Automatic update from web-platform-tests
[GridNG] Out of flow items with the parent of the grid as a containing
block

This change fixes a test failure where the parent of the grid is the
containing block of an absolutely positioned child of the grid.
Previously, the containing block of out of flow children of the grid was
assumed to be the grid container. As a result, their static position of
was incorrect. Furthermore, this CL fixes the crash when adding a
position fixed item as child of the grid.

Bug: 10455991190220
Change-Id: Iadb035783937bec117d594bb371ac989b08d9d1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2803842
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com>
Reviewed-by: Ethan Jimenez <ethavar@microsoft.com>
Commit-Queue: Ana Sollano Kim <ansollan@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#876434}

--

wpt-commits: 70644c41aaa771c9918606b5df11529dbdfe69c0
wpt-pr: 28532
testing/web-platform/tests/css/css-grid/abspos/absolute-positioning-grid-container-parent-002-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-grid/abspos/absolute-positioning-grid-container-parent-002.html [new file with mode: 0644]
testing/web-platform/tests/css/css-grid/abspos/positioned-grid-items-019-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-grid/abspos/positioned-grid-items-019.html [new file with mode: 0644]