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

Unified Diff: LayoutTests/fast/multicol/single-line-expected.html

Issue 825593003: Convert fast/multicol/single-line into a reftest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
Index: LayoutTests/fast/multicol/single-line-expected.html
diff --git a/LayoutTests/fast/multicol/single-line-expected.html b/LayoutTests/fast/multicol/single-line-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..b380dd825570e5f288f3564d57521180f653b5a2
--- /dev/null
+++ b/LayoutTests/fast/multicol/single-line-expected.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<style>
+ .multicol {
+ background-color: #eee;
+ width: 600px;
+ }
+ p, div {
+ margin-top: 1em;
+ margin-bottom: 1em;
+ }
+ .large {
+ font-size: 30px;
+ }
+ .secondColumn {
+ margin-left: 150px;
+ }
+</style>
+<p>
+ This test checks if CSS3 multi-column layout properly works
+ when the multi-column block contains only one line of text.
+</p>
+<p>
+ Test successful if the following text is readable
+ (i.e. not split into two different columns).
+</p>
+<p class="multicol">
+ Short text.
+</p>
+<p class="multicol">
+ <span class="large">Bigger text.</span>
+</p>
+<p class="multicol">
+ Partially <span class="large">big</span> text.
+</p>
+<div class="multicol">
+ <p class="secondColumn">&nbsp;Nested block.</p>
+</div>
+<div>
+ <p class="multicol">&nbsp;Nested block #2.</p>
+</div>
« no previous file with comments | « LayoutTests/fast/multicol/single-line.html ('k') | LayoutTests/platform/linux/fast/multicol/single-line-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698