1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: Updating layout on display changes
</title>
5 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visuren.html#display-prop">
6 <script type=
"text/javascript">
8 document
.getElementById('float').style
.display
= 'none';
10 window
.addEventListener("load", test
, false);
13 #float { width:
100%; float:left; }
14 div { background: red; color: green; width:
1em; font-family: Ahem; }
18 <p>There should be no red below, only green.
</p>
19 <div id=
"float">X
</div>