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

Unified Diff: LayoutTests/fast/multicol/overflow-unsplittable.html

Issue 898963002: Rewrite fast/multicol/overflow-unsplittable.html as a reftest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase master Created 5 years, 10 months 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/multicol/overflow-unsplittable-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/overflow-unsplittable.html
diff --git a/LayoutTests/fast/multicol/overflow-unsplittable.html b/LayoutTests/fast/multicol/overflow-unsplittable.html
index 42f4b2d5c51aee990c11403b1e489c14674bc709..7f64cdf52c023d1778b288381767eb50b2283b67 100644
--- a/LayoutTests/fast/multicol/overflow-unsplittable.html
+++ b/LayoutTests/fast/multicol/overflow-unsplittable.html
@@ -1,27 +1,15 @@
-<div style="text-align:justify; text-decoration:underline; border:solid; width:500px; font-size:12px; line-height:2; height:499px; -moz-column-count:3; -webkit-columns:3; columns:3; column-fill:auto;">
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ornare, nunc eget condimentum tempor,
-augue ligula accumsan eros, sed consequat sapien orci id libero. Curabitur tristique, augue in aliquet
-accumsan, nibh nisi lobortis odio, et suscipit est ligula eu nisi. Nunc aliquet lobortis porta. Donec
-venenatis consectetur eleifend. Etiam sed tempor quam. Pellentesque gravida gravida eros venenatis
-suscipit.
-
-<div style="overflow:auto;height:300px;width:98%; border:2px solid black;">Aenean diam enim, suscipit id pellentesque vel, hendrerit et metus. Suspendisse felis erat,
-hendrerit a congue in, euismod ac erat. Donec pulvinar venenatis tortor, a lobortis erat scelerisque
-et. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
-Aliquam in orci id felis mollis porta ac et orci. Donec viverra, eros ac mattis dapibus, quam ante
-porta lectus, accumsan pellentesque nibh metus non felis. Vivamus sed eros quis magna scelerisque
-ultrices ac eget velit.
-</div>
-
-Nunc et odio ut velit posuere viverra. Integer eu mi quis velit dapibus tempus at ut purus. Quisque
-congue mollis mauris a hendrerit. Nam viverra est at orci interdum a ullamcorper mi dictum. In id
-sapien augue. Suspendisse potenti. Vestibulum turpis purus, convallis ut sagittis quis, semper vel
-mauris. Curabitur vitae felis turpis. Fusce augue nibh, consectetur non vestibulum et, bibendum sit
-amet lectus. Nulla at imperdiet metus. Donec non est velit, non fringilla ipsum. Fusce elementum neque
-a nibh egestas sodales. Mauris ut lorem hendrerit metus interdum malesuada. Nam tempus sodales neque
-vitae bibendum. Vestibulum ac est sit amet dolor vehicula semper at sed ante. Nunc at neque urna, in
-volutpat orci. Praesent eu velit neque, quis rutrum metus. Nunc eu ipsum sit amet ligula mattis
-porttitor sit amet id felis. Integer volutpat aliquam odio et feugiat.
-
-</div>
+<!DOCTYPE html>
+<p>Test that a scrollable container isn't split across multiple columns.</p>
+<p>There should be three columns below. The first one should contain "line1". The second one should
+ contain "line2", "line3", "line4" and a vertical scrollbar. The third one should contain
+ "line5". No red should be seen</p>
+<div style="-webkit-columns:3; -webkit-column-gap:1em; width:32em; line-height:2em;">
+ line1<br>
+ <div style="overflow:auto; height:6em;">
+ line2<br>
+ line3<br>
+ line4<br>
+ <span style="color:red;">FAIL</span>
+ </div>
+ line5<br>
</div>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/multicol/overflow-unsplittable-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698