Index: third_party/WebKit/LayoutTests/fast/multicol/orphaned-line-at-exact-top-of-column.html |
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/orphaned-line-at-exact-top-of-column.html b/third_party/WebKit/LayoutTests/fast/multicol/orphaned-line-at-exact-top-of-column.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..96d102cb70c3818892586eda7362f113445ef04a |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/multicol/orphaned-line-at-exact-top-of-column.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/check-layout.js"></script> |
+<p>Make sure that we don't skip orphan checking when a line ends up naturally at the top of a column.</p> |
+<p>All three lines should be in the second column.</p> |
+<div id="multicol" style="position:relative; -webkit-columns:2; -webkit-column-rule:1px solid; column-fill:auto; orphans:3; height:8em; line-height:2em; background:yellow;"> |
+ <div style="height:4em;"></div> |
+ <div data-offset-y="0"> |
+ line 1<br> |
+ line 2<br> |
+ line 3<br> |
+ </div> |
+</div> |
+<script> |
+ checkLayout("#multicol"); |
+</script> |