| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
| 2 <html xmlns="http://www.w3.org/1999/xhtml"> | 2 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 <head> | 3 <head> |
| 4 <title>CSS Test: vertical-align: top</title> | 4 <title>CSS Test: vertical-align: top</title> |
| 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> | 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> |
| 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/Browse
rBugsSection/css21testsuite/" /> <!-- 2016-06-01 --> |
| 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/ver
tical-align/001.html" type="text/html"/> | 7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/ver
tical-align/001.html" type="text/html"/> |
| 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" /> | 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" /> |
| 8 <link rel="match" href="vertical-align-121-ref.xht" /> | 9 <link rel="match" href="vertical-align-121-ref.xht" /> |
| 9 | 10 |
| 10 <meta name="flags" content="ahem" /> | 11 <meta name="flags" content="ahem" /> |
| 11 <style type="text/css"> | 12 <style type="text/css"> |
| 12 div { color: navy; text-align: center; width: 6em; font: 30px/1 Ahem; } | 13 div { color: navy; text-align: center; width: 6em; font: 30px/1 Ahem; } |
| 13 span { font-size: 2em; } | 14 span { font-size: 2em; } |
| 14 .bottom { border-bottom: solid blue; } | 15 .bottom { border-bottom: solid blue; } |
| 15 .bottom span { vertical-align: bottom; } | 16 .bottom span { vertical-align: bottom; } |
| 16 .top span { vertical-align: top; } | 17 .top span { vertical-align: top; } |
| 17 </style> | 18 </style> |
| 18 </head> | 19 </head> |
| 19 <body> | 20 <body> |
| 20 | 21 |
| 21 <p>There should be a plus sign with a blue line traversing through its middle.
</p> | 22 <p>There should be a plus sign with a blue line traversing through its middle.
</p> |
| 22 <div class="bottom">x<span>X</span>x</div> | 23 <div class="bottom">x<span>X</span>x</div> |
| 23 <div class="top">x<span>X</span>x</div> | 24 <div class="top">x<span>X</span>x</div> |
| 24 </body> | 25 </body> |
| 25 </html> | 26 </html> |
| OLD | NEW |