Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t100801-c544-valgn-01-d-ag.html
blobcb07fad1f5eca0eab09f2abebc4b129e2f03bda9
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: vertical-align</title>
5 <script src="../resources/ahem.js"></script>
6 <style type="text/css">
7 .test {font: 15px/1 Ahem; color: green; background: red url(support/css1test544b.png) no-repeat; width: 90px; margin: 0 1em;}
8 img {height: 30px;}
9 .big {font-size:200%;}
10 .three {vertical-align: top; font-size: 15px;}
11 .four {vertical-align: text-top; font-size: 15px;}
12 .five {vertical-align: middle; font-size: 15px;}
13 .six {vertical-align: bottom; font-size: 15px;}
14 .seven {vertical-align: text-bottom; font-size: 15px;}
15 .eight {vertical-align: baseline; font-size: 15px;}
16 .nine {vertical-align: 50%; font-size: 15px; line-height: 20px;}
17 </style>
18 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#q26" title="10.8.1 Leading and half-leading">
19 </head>
20 <body>
21 <p>There should be a green block with no red below.</p>
22 <div class="test">
23 <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="three">X</span>X</div>
24 <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="big"><span class="four">X</span>X</span></div>
25 <div><img alt="FAIL: Image support required." src="support/swatch-green.png" class="five">X</div>
26 <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="big"><span class="six">X</span>X</span></div>
27 <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="big"><span class="seven">X</span>X</span></div>
28 <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="big"><span class="eight">X</span>X</span></div>
29 <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="nine">X</span>X</div>
30 </div>
31 </body>
32 </html>