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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/nested-short-first-row-extra-tall-line.html

Issue 1472053002: Jump to the next outer column when an inner column is too short. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review 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/nested-short-first-row-extra-tall-line.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/nested-short-first-row-extra-tall-line.html b/third_party/WebKit/LayoutTests/fast/multicol/nested-short-first-row-extra-tall-line.html
new file mode 100644
index 0000000000000000000000000000000000000000..08d3876f4f92f3ac1c358ff92e3e387369a85a02
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/nested-short-first-row-extra-tall-line.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script src="../../resources/check-layout.js"></script>
+<p>Below, the two words "OK" and "WIN" should be seen on two separate lines. Letter spacing should
+ be large. The line with "OK" should be southwest of "WIN". Between the two words you should see
+ a hotpink rectangle.</p>
+<div id="outer" style="position:relative; -webkit-columns:3; -webkit-column-gap:0; font-size:16px; width:12em; column-fill:auto; height:4.5em; line-height:2em; text-align:center;">
+ <br>
+ <div style="-webkit-columns:4; -webkit-column-gap:0;">
+ <div data-offset-x="0" data-offset-y="32">O</div>
+ <div data-offset-x="16" data-offset-y="32">K</div>
+ <div data-offset-x="64" data-offset-y="0" style="font-size:1.8em; line-height:2em; background:hotpink;">
+ <br>
+ </div>
+ <div data-offset-x="80" data-offset-y="0">W</div>
+ <div data-offset-x="96" data-offset-y="0">I</div>
+ <div data-offset-x="112" data-offset-y="0">N</div>
+ </div>
+</div>
+<script>
+ checkLayout("#outer");
+</script>

Powered by Google App Engine
This is Rietveld 408576698