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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/avoid-break-inside-first-child.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.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/avoid-break-inside-first-child.html b/third_party/WebKit/LayoutTests/fragmentation/avoid-break-inside-first-child.html
new file mode 100644
index 0000000000000000000000000000000000000000..b226bae589549b13815225430713f80251c589a1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/avoid-break-inside-first-child.html
@@ -0,0 +1,13 @@
+<!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="margin-top:100px; height:400px; break-inside:avoid;">
+ <div data-offset-y="100" data-offset-x="0">
+ :-)
+ </div>
+ </div>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>

Powered by Google App Engine
This is Rietveld 408576698