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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/avoid-break-inside-first-child-nested.html

Issue 2400083003: Don't break before a first in-flow block container. (Closed)
Patch Set: 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
Index: third_party/WebKit/LayoutTests/fragmentation/avoid-break-inside-first-child-nested.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/avoid-break-inside-first-child-nested.html b/third_party/WebKit/LayoutTests/fragmentation/avoid-break-inside-first-child-nested.html
new file mode 100644
index 0000000000000000000000000000000000000000..dd443fe37bb1bf71262c865211112a436d1b516c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/avoid-break-inside-first-child-nested.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script src="../resources/check-layout.js"></script>
+<p>There should be a smiley below.</p>
+<div id="multicol" style="position:relative; columns:1; column-fill:auto; height:200px; overflow:hidden;">
+ <div style="padding-top:50px; break-inside:avoid;">
+ <div style="padding-top:50px; height:400px; break-inside:avoid;">
+ <div data-offset-y="100" data-offset-x="0">
+ :-)
+ </div>
+ </div>
+ </div>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>

Powered by Google App Engine
This is Rietveld 408576698