| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> |
| 2 <title>CSS Test: Test for float placement rules</title> |
| 3 <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org"
/> |
| 4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
| 5 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" /
> |
| 6 <link rel="match" href="floats-placement-vertical-001-ref.xht"/> |
| 7 <meta name="assert" content="A floating box must be placed as high as possible.
" /> |
| 8 <meta name="flags" content="" /> |
| 9 <style type="text/css"> |
| 10 .left { float:left; } |
| 11 .right { float:right; } |
| 12 .left, .right { width:50px; height:50px; background:yellow; } |
| 13 p { overflow:auto; } |
| 14 </style> |
| 15 </head> |
| 16 <body style="width:400px;"> |
| 17 <p>Hello<span><span class="left"></span>Kitty</span> |
| 18 </p><p>Hello<span><span class="right"></span>Kitty</span> |
| 19 </p><p dir="rtl">Hello<span><span class="left"></span>Kitty</span> |
| 20 </p><p dir="rtl">Hello<span><span class="right"></span>Kitty</span> |
| 21 </p><p style="text-align:right;">Hello<span><span class="left"></span>Kitty</spa
n> |
| 22 </p><p style="text-align:right;">Hello<span><span class="right"></span>Kitty</sp
an> |
| 23 |
| 24 |
| 25 </p></body></html> |
| OLD | NEW |