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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding.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/first-line-in-block-with-padding.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding.html b/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding.html
new file mode 100644
index 0000000000000000000000000000000000000000..26753a95cc3e74b8fa79d3c51d7bff828efc06a2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../../resources/check-layout.js"></script>
+<p>When its first line needs a column break, test that we push the entire block to the next column.</p>
+<p>There should be a blue square below.</p>
+<div id="multicol" style="position:relative; -webkit-columns:2; -webkit-column-gap:0; column-fill:auto; width:6em; height:3em; line-height:2em;">
+ <br>
+ <div data-offset-y="0" style="padding-top:1em; background:blue;"><br></div>
+</div>
+<script>
+ checkLayout("#multicol");
+</script>

Powered by Google App Engine
This is Rietveld 408576698