| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st
rict.dtd"> | |
| 2 <html> | |
| 3 <head> | |
| 4 <title>CSS Test: Test for wrapping around floats which are overlapped by the
element that must avoid them</title> | |
| 5 <link rel="author" title="WebKit" href="http://webkit.org/"> | |
| 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats"> | |
| 7 <style type="text/css"> | |
| 8 .container { position: relative; } | |
| 9 .reference { position: absolute; width: 100px; height: 100px; background
: black; } | |
| 10 </style> | |
| 11 </head> | |
| 12 <body> | |
| 13 <!-- Ensure lineboxes respect line-box-contain when avoiding floats. --> | |
| 14 There should be no red below. | |
| 15 <div class="container"> | |
| 16 <div class="reference"></div> | |
| 17 </div> | |
| 18 | |
| 19 | |
| 20 </body></html> | |
| OLD | NEW |