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> |