Chromium Code Reviews

Side by Side Diff: LayoutTests/fast/multicol/single-line.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.
Jump to:
View unified diff |
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd"> 2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en"> 3 <html lang="en">
4 <head> 4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <title>CSS3 Multi-column Layout: Single line test</title> 6 <title>CSS3 Multi-column Layout: Single line test</title>
7 <style type="text/css"> 7 <style type="text/css">
8 .multicol { 8 .multicol {
9 -webkit-columns: 4; 9 -webkit-columns: 4;
10 -webkit-column-rule: #bbb 1px solid; 10 -webkit-column-gap: 0;
11 background-color: #eee; 11 background-color: #eee;
12 width: 600px;
12 } 13 }
13 p, div { 14 p, div {
14 margin-top: 1em; 15 margin-top: 1em;
15 margin-bottom: 1em; 16 margin-bottom: 1em;
16 } 17 }
17 .large { 18 .large {
18 font-size: 30px; 19 font-size: 30px;
19 } 20 }
20 </style> 21 </style>
21 </head> 22 </head>
22 <body> 23 <body>
23 <p> 24 <p>
24 This test checks if CSS3 multi-column layout properly works 25 This test checks if CSS3 multi-column layout properly works
25 when the multi-column block contains only one line of text. 26 when the multi-column block contains only one line of text.
26 </p> 27 </p>
27 <p> 28 <p>
28 Test successful if the following text is readable 29 Test successful if the following text is readable
29 (i.e. not split into two different columns). 30 (i.e. not split into two different columns).
30 </p> 31 </p>
31 <p class="multicol"> 32 <p class="multicol">
32 Short text. 33 Short text.
33 </p> 34 </p>
34 <p class="multicol"> 35 <p class="multicol">
35 <span class="large">Bigger text.</span> 36 <span class="large">Bigger text.</span>
36 </p> 37 </p>
37 <p class="multicol"> 38 <p class="multicol">
38 Partially <span class="large">big</span> text. 39 Partially <span class="large">big</span> text.
39 </p> 40 </p>
40 <div class="multicol"> 41 <div class="multicol">
41 <p>Nested block.</p> 42 <p>&nbsp;Nested block.</p>
42 </div> 43 </div>
43 <div> 44 <div>
44 <p class="multicol">Nested block #2.</p> 45 <p class="multicol">&nbsp;Nested block #2.</p>
45 </div> 46 </div>
46 </body> 47 </body>
47 </html> 48 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/newmulticol/single-line-expected.html ('k') | LayoutTests/fast/multicol/single-line-expected.html » ('j') | no next file with comments »

Powered by Google App Engine