Bug 1706130 [wpt PR 28576] - [LayoutNG] Nested fixedpos in a multicol static position...
commitfa8592381cb4ad65718ac02a91cda435405af68d
authorAlison Maher <almaher@microsoft.com>
Sat, 24 Apr 2021 09:11:54 +0000 (24 09:11 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 24 Apr 2021 15:47:31 +0000 (24 15:47 +0000)
treeac0a9aa0835dccead75027dfa83201595085ecf9
parent429677cb01499ad7c125988313e52f3114943fc9
Bug 1706130 [wpt PR 28576] - [LayoutNG] Nested fixedpos in a multicol static position, a=testonly

Automatic update from web-platform-tests
[LayoutNG] Nested fixedpos in a multicol static position

When a fixedpos is nested in an OOF inside a multicol, the static
position can be incorrect. The reason being that when calling
PropagateOOFPositionedInfo() from NGOutOfFlowLayoutPart, the offset
of the OOF ancestor should be relative the current builder
(i.e. the multicol container) rather than relative to its
fragmentainer. To fix this, adjust the OOF offset using the
fragmentainer offset so that it is relative to the multicol when
calling PropagateOOFPositionedInfo().

Bug: 1200324
Change-Id: I3742efe2daf38e3f51b8f4abc8c332b8de117385
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2836226
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874309}

--

wpt-commits: 99e23355e8a04cb873e9cb6a0a3fe34fbd0d8125
wpt-pr: 28576
testing/web-platform/tests/css/css-multicol/fixed-in-multicol-with-transform-container.html [new file with mode: 0644]