| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| <title>CSS Test: Vertical Alignment boxes: replaced elements</title> |
| <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"> |
| <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height"> |
| <meta name="flags" content="ahem image"> |
| <meta name="assert" content="Vertical alignment aligns the margin box of inline replaced elements."> |
| font: 40px/60px Ahem; color: blue; |
| border-bottom: 10px solid; |
| vertical-align: text-bottom; |
| border-bottom: 15px solid; |
| vertical-align: text-top; |
| vertical-align: baseline; |
| border-bottom: 15px solid; |
| <p>There should be a single blue rectangle with perfectly straight sides below.</p> |
| <img id="control" src="support/swatch-blue.png" alt="FAIL"><!-- |
| --><img id="baseline" src="support/swatch-blue.png" alt="FAIL"><!-- |
| --><img id="middle" src="support/swatch-blue.png" alt="FAIL"><!-- |
| --><img id="text-top" src="support/swatch-blue.png" alt="FAIL"><!-- |
| --><img id="text-bottom" src="support/swatch-blue.png" alt="FAIL"><!-- |
| --><img id="percent" src="support/swatch-blue.png" alt="FAIL"><!-- |
| --><img id="length" src="support/swatch-blue.png" alt="FAIL"> |