Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/break-after-last-child.html

Issue 1856373002: Only allow forced fragmentainer breaks at class A break points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Woho! LayoutTests/printing/css2.1/page-break-after-003.html now passes. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fragmentation/break-after-last-child.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/break-after-last-child.html b/third_party/WebKit/LayoutTests/fragmentation/break-after-last-child.html
new file mode 100644
index 0000000000000000000000000000000000000000..2ca1f84d1a76f16297949f8bc24123dbd15f73af
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/break-after-last-child.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<script src="../resources/check-layout.js"></script>
+<p>Below, there should be a green square with a border, and no red.</p>
+<div id="multicol" style="columns:3; column-fill:auto; line-height:50px; height:100px;">
+ <div data-expected-width="60" data-expected-height="60" style="border:5px solid green; width:50px; background:red;">
+ <div style="break-after:column; background:lime;">
+ <br>
+ </div>
+ </div>
+ <br>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>

Powered by Google App Engine
This is Rietveld 408576698