| 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: Inline formatting context and basic horizontal Layout</
title> | 4 <title>CSS Test: Inline formatting context and basic horizontal Layout</
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-04 --> | 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/
BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-04 --> |
| 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-001-ref.xht" /> | 8 <link rel="match" href="inline-formatting-context-001-ref.xht" /> |
| 9 | 9 |
| 10 <meta name="flags" content="" /> | 10 <meta name="flags" content="" /> |
| 11 <meta name="assert" content="Inline boxes are laid out horizontally or o
ne after the other starting at the top of the containing block." /> | 11 <meta name="assert" content="Inline boxes are laid out horizontally or o
ne after the other starting at the top of the containing block." /> |
| 12 <style type="text/css"> | 12 <style type="text/css"> |
| 13 #div1 | 13 #div1 |
| 14 { | 14 { |
| 15 border: solid 1px black; | 15 border: solid 1px black; |
| 16 width: 600px; | 16 width: 600px; |
| 17 } | 17 } |
| 18 div div | 18 div div |
| 19 { | 19 { |
| 20 display: inline; | 20 display: inline; |
| 21 } | 21 } |
| 22 </style> | 22 </style> |
| 23 </head> | 23 </head> |
| 24 <body> | 24 <body> |
| 25 <p>Test passes if all the words "Filler Text" are on the same line and t
hey are contained by a black box.</p> | 25 <p>Test passes if all the words "Filler Text" are on the same line and t
hey are contained by a black box.</p> |
| 26 <div id="div1"> | 26 <div id="div1"> |
| 27 <div>Filler Text </div> | 27 <div>Filler Text </div> |
| 28 <div>Filler Text </div> | 28 <div>Filler Text </div> |
| 29 <div>Filler Text</div> | 29 <div>Filler Text</div> |
| 30 </div> | 30 </div> |
| 31 </body> | 31 </body> |
| 32 </html> | 32 </html> |
| OLD | NEW |