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