Index: third_party/WebKit/LayoutTests/fragmentation/break-before-empty-child-block.html |
diff --git a/third_party/WebKit/LayoutTests/fragmentation/break-before-empty-child-block.html b/third_party/WebKit/LayoutTests/fragmentation/break-before-empty-child-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8ea8f631b81dca0a64cb0e81f86b5c9ece5be464 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fragmentation/break-before-empty-child-block.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<script src="../resources/check-layout.js"></script> |
+<p>There should be two blue squares below.</p> |
+<div id="multicol" style="columns:3; column-fill:auto; column-gap:0; position:relative; width:120px; height:100px; line-height:20px;"> |
+ <div style="height:60px;"></div> |
+ <div data-offset-x="0" data-offset-y="60" data-expected-height="80" style="padding-top:30px; padding-bottom:20px; background:blue;"> |
+ <div data-offset-x="0" data-offset-y="90"></div> |
+ <!-- This is where the soft break should occur, since it's a valid class A break point. --> |
+ <div data-offset-x="40" data-offset-y="0"> |
+ <br> |
+ </div> |
+ </div> |
+</div> |
+<script> |
+ checkLayout("#multicol"); |
+</script> |