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

Unified Diff: LayoutTests/fast/multicol/float-paginate-empty-lines-expected.html

Issue 702853003: Convert fast/multicol/float-paginate-empty-lines to reftest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 6 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: LayoutTests/fast/multicol/float-paginate-empty-lines-expected.html
diff --git a/LayoutTests/fast/multicol/float-paginate-empty-lines-expected.html b/LayoutTests/fast/multicol/float-paginate-empty-lines-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..2436194e3f834cb533fae519051cb4d2cf83e1d3
--- /dev/null
+++ b/LayoutTests/fast/multicol/float-paginate-empty-lines-expected.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<style>
+ .columns {
+ height: 300px;
+ border: 2px solid black;
+ line-height: 20px;
+ }
+ .dashed {
+ border: 10px dashed maroon;
+ width: 50%;
+ float: left;
+ box-sizing: border-box;
+ }
+ img {
+ float: right;
+ width: 100px;
+ height: 200px;
+ background-color: #cccccc;
+ margin-right: 10px;
+ }
+</style>
+<p>This test is ensuring we don't grow the height of a block improperly when a float has no line association (e.g., when it's at the end of a
+block). The complete dashed border should be in the first column, with none of it appearing in the second column.</p>
+<div class="columns">
+ <div class="dashed">
+ This is some text.<br>This is some text.<br>This is some text.<br>
+ This is some text.<br>This is some text.<br>This is some text.<br>
+ This is some text.<br>This is some text.<br>This is some text.<br>
+ This is some text.<br>This is some text.<br>This is some text.<br>
+ </div>
+ <img>
+</div>

Powered by Google App Engine
This is Rietveld 408576698