From 6df395671db4e4ca60fd54ec98a2afad74375c7b Mon Sep 17 00:00:00 2001 From: Morten Stenshorne Date: Wed, 2 Feb 2022 13:28:20 -0800 Subject: [PATCH] Make break-before propagation work beyond one level up. Need to propagate the break-before value of the layout result, just like we already do for break-after a few lines further down. Bug: 1293287 Change-Id: I690719c332086b89b073f522f250b0f263d0cf41 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3430143 Reviewed-by: Alison Maher Commit-Queue: Morten Stenshorne Cr-Commit-Position: refs/heads/main@{#966399} --- css/css-break/break-between-avoid-009.html | 16 ++++++++++++++++ css/css-break/break-between-force-000.html | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 css/css-break/break-between-avoid-009.html create mode 100644 css/css-break/break-between-force-000.html diff --git a/css/css-break/break-between-avoid-009.html b/css/css-break/break-between-avoid-009.html new file mode 100644 index 000000000000000..d2e84f210a5d103 --- /dev/null +++ b/css/css-break/break-between-avoid-009.html @@ -0,0 +1,16 @@ + + + + +

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

+
+
+
+
+
+
+
+
+
+
+
diff --git a/css/css-break/break-between-force-000.html b/css/css-break/break-between-force-000.html new file mode 100644 index 000000000000000..9bccf7395e5a83f --- /dev/null +++ b/css/css-break/break-between-force-000.html @@ -0,0 +1,15 @@ + + + + +

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

+
+
+
+
+
+
+
+
+
+