From 63f5f31bc4ea3f286477163abeb00f65a858d124 Mon Sep 17 00:00:00 2001 From: Morten Stenshorne Date: Fri, 7 Aug 2020 12:46:55 +0000 Subject: [PATCH] Bug 1657700 [wpt PR 24907] - Update tests for forced breaks at fragmentainer start., a=testonly Automatic update from web-platform-tests Update tests for forced breaks at fragmentainer start. If there's a forced break, and it's at a valid class A breakpoint, we may break there. There's nothing in the spec suggesting otherwise. This is working correctly in the LayoutNG fragmentation engine, but not in the legacy engine (where we require some non-zero block-size content to allow forced breaks). Remove invalid tests, and add a couple of valid ones. Bug: 1100849 Change-Id: I1829a00a4e9761906ebe4536ded9c994f4737e69 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339663 Reviewed-by: Ian Kilpatrick Reviewed-by: Alison Maher Commit-Queue: Morten Stenshorne Cr-Commit-Position: refs/heads/master@{#795604} -- wpt-commits: c7c27f9106d063ad4764aacdef5cb472c4be676e wpt-pr: 24907 --- .../forced-break-at-fragmentainer-start-000.html | 11 +++++++++++ .../forced-break-at-fragmentainer-start-001.html | 12 ++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 testing/web-platform/tests/css/css-break/forced-break-at-fragmentainer-start-000.html create mode 100644 testing/web-platform/tests/css/css-break/forced-break-at-fragmentainer-start-001.html diff --git a/testing/web-platform/tests/css/css-break/forced-break-at-fragmentainer-start-000.html b/testing/web-platform/tests/css/css-break/forced-break-at-fragmentainer-start-000.html new file mode 100644 index 000000000000..d5796ba641b5 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/forced-break-at-fragmentainer-start-000.html @@ -0,0 +1,11 @@ + + + + + + +

Test passes if there is a filled green square.

+
+
+
+
diff --git a/testing/web-platform/tests/css/css-break/forced-break-at-fragmentainer-start-001.html b/testing/web-platform/tests/css/css-break/forced-break-at-fragmentainer-start-001.html new file mode 100644 index 000000000000..b3ad80ca9a0d --- /dev/null +++ b/testing/web-platform/tests/css/css-break/forced-break-at-fragmentainer-start-001.html @@ -0,0 +1,12 @@ + + + + + + +

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

+
+
+
+
+