chromium/third_party/blink/web_tests/css2.1/t100801-c544-valgn-01-d-ag.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>CSS 2.1 Test Suite: vertical-align</title>
  <script src="../resources/ahem.js"></script>
  <style type="text/css">
   .test {font: 15px/1 Ahem; color: green; background: red url(support/css1test544b.png) no-repeat; width: 90px; margin: 0 1em;}
   img {height: 30px;}
   .big {font-size:200%;}
   .three {vertical-align: top; font-size: 15px;}
   .four {vertical-align: text-top; font-size: 15px;}
   .five {vertical-align: middle; font-size: 15px;}
   .six {vertical-align: bottom; font-size: 15px;}
   .seven {vertical-align: text-bottom; font-size: 15px;}
   .eight {vertical-align: baseline; font-size: 15px;}
   .nine {vertical-align: 50%; font-size: 15px; line-height: 20px;}
  </style>
  <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#q26" title="10.8.1 Leading and half-leading">
 </head>
 <body>
  <p>There should be a green block with no red below.</p>
  <div class="test">
   <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="three">X</span>X</div>
   <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="big"><span class="four">X</span>X</span></div>
   <div><img alt="FAIL: Image support required." src="support/swatch-green.png" class="five">X</div>
   <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="big"><span class="six">X</span>X</span></div>
   <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="big"><span class="seven">X</span>X</span></div>
   <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="big"><span class="eight">X</span>X</span></div>
   <div><img alt="FAIL: Image support required." src="support/swatch-green.png"><span class="nine">X</span>X</div>
  </div>
 </body>
</html>