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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/break-inside-avoid-with-forced-break.html

Issue 2401753002: A forced break inside a break-inside:avoid object may make it fit where it is. (Closed)
Patch Set: Volvo lastvagnar Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/break-inside-avoid-with-forced-break-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fragmentation/break-inside-avoid-with-forced-break.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/break-inside-avoid-with-forced-break.html b/third_party/WebKit/LayoutTests/fragmentation/break-inside-avoid-with-forced-break.html
new file mode 100644
index 0000000000000000000000000000000000000000..16e02acd105102c80eead6431f19527743532358
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/break-inside-avoid-with-forced-break.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<script src="../resources/check-layout.js"></script>
+<p>There should be a blue square below.</p>
+<div id="multicol" style="position:relative; columns:2; column-fill:auto; column-gap:10px; width:130px; height:120px;">
+ <div style="height:30px; background:blue;"></div>
+ <div data-offset-x="0" data-offset-y="30" data-expected-height="290" style="break-inside:avoid;">
+ <div data-offset-x="0" data-offset-y="30" style="height:10px; background:blue;"></div>
+ <div>
+ <div data-offset-x="0" data-offset-y="40" style="height:10px; background:blue;"></div>
+ <div>
+ <div data-offset-x="0" data-offset-y="50" style="height:10px; background:blue;"></div>
+ <div data-offset-x="70" data-offset-y="0" style="break-before:column; height:200px;"></div>
+ </div>
+ </div>
+ </div>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/break-inside-avoid-with-forced-break-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698