From fa8592381cb4ad65718ac02a91cda435405af68d Mon Sep 17 00:00:00 2001 From: Alison Maher Date: Sat, 24 Apr 2021 09:11:54 +0000 Subject: [PATCH] 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 Reviewed-by: Morten Stenshorne Cr-Commit-Position: refs/heads/master@{#874309} -- wpt-commits: 99e23355e8a04cb873e9cb6a0a3fe34fbd0d8125 wpt-pr: 28576 --- ...fixed-in-multicol-with-transform-container.html | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 testing/web-platform/tests/css/css-multicol/fixed-in-multicol-with-transform-container.html diff --git a/testing/web-platform/tests/css/css-multicol/fixed-in-multicol-with-transform-container.html b/testing/web-platform/tests/css/css-multicol/fixed-in-multicol-with-transform-container.html new file mode 100644 index 000000000000..ee384c378e53 --- /dev/null +++ b/testing/web-platform/tests/css/css-multicol/fixed-in-multicol-with-transform-container.html @@ -0,0 +1,43 @@ + + + Nested fixedpos static position in a multicol with transform containing + block. + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
+
+
+
+
-- 2.11.4.GIT