| 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 and alignment of inline boxes</title> | 4 <title>CSS Test: Vertical-align and alignment of inline boxes</title> |
| 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> | 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> |
| 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/
BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-02 --> | 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/
BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-02 --> |
| 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-fo
rmatting" /> | 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-fo
rmatting" /> |
| 8 <link rel="match" href="inline-formatting-context-011-ref.xht" /> | 8 <link rel="match" href="inline-formatting-context-011-ref.xht" /> |
| 9 | 9 |
| 10 <meta name="flags" content="ahem" /> | 10 <meta name="flags" content="ahem" /> |
| 11 <meta name="assert" content="The 'vertical-align' property determines th
e vertical alignment of a box within a line box." /> | 11 <meta name="assert" content="The 'vertical-align' property determines th
e vertical alignment of a box within a line box." /> |
| 12 <style type="text/css"> | 12 <style type="text/css"> |
| 13 div | 13 div |
| 14 { | 14 { |
| 15 border-top: solid orange; | 15 border-top: solid orange; |
| 16 } | 16 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 33 </style> | 33 </style> |
| 34 </head> | 34 </head> |
| 35 <body> | 35 <body> |
| 36 <p>Test passes if the black square and blue rectangles touch the orange
line.</p> | 36 <p>Test passes if the black square and blue rectangles touch the orange
line.</p> |
| 37 <div> | 37 <div> |
| 38 <span id="span1">X</span> | 38 <span id="span1">X</span> |
| 39 <span id="span2">X</span> | 39 <span id="span2">X</span> |
| 40 </div> | 40 </div> |
| 41 </body> | 41 </body> |
| 42 </html> | 42 </html> |
| OLD | NEW |