| <html> | |
| <head> | |
| <title>Width Updating after Clear</title> | |
| <style type="text/css"> | |
| p { | |
| float: right; | |
| } | |
| hr, div, table { | |
| clear: both; | |
| } | |
| div { | |
| overflow:auto; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <p>The 'hr' below should span the width of the page, not just to the left edge of this text.</p> | |
| <hr> | |
| <p>The table below should span the width of the page, not just to the left edge of this text.</p> | |
| <table border=10><tr><td>This is a table that should fill the entire width of the page. It should clear the float and then take up the width of the page. | |
| If it doesn't then it's a bug.</td></tr></table> | |
| <p>The overflow auto section below should span the width of the page.</p> | |
| <div>This is a div that should fill the entire width of the page. It should clear the float and then take up the width of the page. | |
| If it doesn't then it's a bug.</div> | |
| </body> | |
| </html> |