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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/float-after-forced-break.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/float-after-forced-break.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/float-after-forced-break.html b/third_party/WebKit/LayoutTests/fragmentation/float-after-forced-break.html
new file mode 100644
index 0000000000000000000000000000000000000000..1bc9d80b5713873881c9d0fe19916b60fc95ef96
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/float-after-forced-break.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../resources/check-layout.js"></script>
+<p>Below, there should be a yellow square with a border, to the left
+ of a blue square with no border. There must be no red!</p>
+<div id="multicol" style="position:relative; columns:3; column-fill:auto; column-gap:0; width:300px; line-height:50px; height:200px;">
+ <div data-expected-width="60" data-expected-height="60" style="border:5px solid wheat; width:50px; background:red;">
+ <div style="break-after:column; background:yellow;">
+ <br>
+ </div>
+ <div data-offset-x="105" data-offset-y="0" style="float:left; width:60px; height:60px; background:blue;"></div>
+ </div>
+ <br>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>

Powered by Google App Engine
This is Rietveld 408576698