Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/orphaned-line-at-exact-top-of-column.html

Issue 1462913002: A line that ends up naturally in the next column may need to propagate a strut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prepositionize responsibly. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698