Index: third_party/WebKit/LayoutTests/fragmentation/abspos-after-forced-break.html |
diff --git a/third_party/WebKit/LayoutTests/fragmentation/abspos-after-forced-break.html b/third_party/WebKit/LayoutTests/fragmentation/abspos-after-forced-break.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..01fbd1570c631714711fdba3175e25aa4c7a1adb |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fragmentation/abspos-after-forced-break.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<script src="../resources/check-layout.js"></script> |
+<p>Below, there should be a yellow square with a border, to the left |
+ of a blue square with no border. There must be no red!</p> |
+<div id="multicol" style="position:relative; columns:3; column-fill:auto; column-gap:0; width:300px; line-height:50px; height:200px;"> |
+ <div data-expected-width="60" data-expected-height="60" style="position:relative; border:5px solid wheat; width:50px; background:red;"> |
+ <div style="break-after:column; background:yellow;"> |
+ <br> |
+ </div> |
+ <div data-offset-x="0" data-offset-y="195" style="position:absolute; width:60px; height:60px; background:blue;"></div> |
+ </div> |
+ <br> |
+</div> |
+<script> |
+ checkLayout("#multicol"); |
+</script> |