| 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"> |
| 2 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 <head> |
| 4 <title>CSS Test: Positioning of floats in tables: zero-width floats with negat
ive outer width</title> |
| 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> |
| 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/float/053.
html" type="text/html"/> |
| 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" /> |
| 8 <link rel="match" href="floats-153-ref.xht" /> |
| 9 |
| 10 <style type="text/css"> |
| 11 td { padding: 2em 5em; } |
| 12 div { width: 0; float: right; margin-left: -10em; color: green; background: r
ed; } |
| 13 </style> |
| 14 </head> |
| 15 <body> |
| 16 <p>Test passes if there is the green word PASS.</p> |
| 17 <table> |
| 18 <tr> |
| 19 <td> |
| 20 <div>PASS</div> |
| 21 </td> |
| 22 </tr> |
| 23 </table> |
| 24 </body> |
| 25 </html> |
| OLD | NEW |