Bug 1705246 [wpt PR 28497] - [LayoutNG] Fixedpos offset in a nested multicol, a=testonly
commit31b7a7be9ff3f1d7907f4613346a9324582aa828
authorAlison Maher <almaher@microsoft.com>
Fri, 23 Apr 2021 10:20:31 +0000 (23 10:20 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 23 Apr 2021 22:16:08 +0000 (23 22:16 +0000)
tree3d6e8c6a5d27ac9dee28bbff8739aa256ae28f04
parentd82d62eaf8969f5b3646476eb01281104040142e
Bug 1705246 [wpt PR 28497] - [LayoutNG] Fixedpos offset in a nested multicol, a=testonly

Automatic update from web-platform-tests
[LayoutNG] Fixedpos offset in a nested multicol

When a fixedpos is nested in another OOF inside a nested multicol,
and the outer OOF is not positioned at top:0 inside the containing
block of the fixedpos, the offset of the fixedpos was incorrect. The
reason being that its static position was getting updated in
NGContainerFragmentBuilder::PropagateOOFPositionedInfo() to take the
offset of the OOF into account. This change makes sure that
the static position no longer adds in this offset and instead is
relative to its containing block.

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

--

wpt-commits: d69b6ed41a784586305b02fdafcc486acad20038
wpt-pr: 28497
testing/web-platform/tests/css/css-break/out-of-flow-in-multicolumn-038.html [new file with mode: 0644]
testing/web-platform/tests/css/css-break/out-of-flow-in-multicolumn-039.html [new file with mode: 0644]