From b71193e80143e0e2ec9355929a6629ac4c23e2bf Mon Sep 17 00:00:00 2001 From: Ian Kilpatrick Date: Mon, 22 Feb 2021 22:07:15 +0000 Subject: [PATCH] Bug 1693885 [wpt PR 27710] - [layout] Don't allow non-formatting-context to be relayout-roots., a=testonly Automatic update from web-platform-tests [layout] Don't allow non-formatting-context to be relayout-roots. As lots of state can be passed from a non-fc to its sibling, treating these as formatting context roots is incorrect for lots of edge cases. This patch dis-allows non-fcs to be relayout-roots. Change-Id: Ieef1a2ad1d653bd954a8a9989aecc8ac83107f69 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2707136 Reviewed-by: Morten Stenshorne Commit-Queue: Ian Kilpatrick Cr-Commit-Position: refs/heads/master@{#856317} -- wpt-commits: dfe483887469f2ad966d6244910b7aa5f0cfbb7b wpt-pr: 27710 --- .../CSS2/normal-flow/margin-collapsing-dynamic.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testing/web-platform/tests/css/CSS2/normal-flow/margin-collapsing-dynamic.html diff --git a/testing/web-platform/tests/css/CSS2/normal-flow/margin-collapsing-dynamic.html b/testing/web-platform/tests/css/CSS2/normal-flow/margin-collapsing-dynamic.html new file mode 100644 index 000000000000..f1b8ee5ddb6a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/normal-flow/margin-collapsing-dynamic.html @@ -0,0 +1,12 @@ + + + +

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

+
+
+
+
+