5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
11 var float2
= document
.getElementById('float2');
12 float2
.style
.display
= 'none';
13 window
.setTimeout('crash();', 0);
18 var block1
= document
.getElementById('block1');
19 var float1
= document
.getElementById('float1');
20 block1
.style
.position
= 'absolute';
21 float1
.style
.display
= 'none';
22 if (window
.testRunner
)
24 testRunner
.notifyDone();
28 <body onload=
"removeFloat()">
29 <p>This test passes if it doesn't crash.
</p>
30 <div style=
"position:absolute; left:0; top:40">
31 <div id=
"block1" style=
"border:solid">
32 <div id=
"float1" style=
"float:left; width:50px; height:600px; background-color:purple; margin-left:5px"></div>
33 <div id=
"float2" style=
"float:left; width:50px; height:150px; background-color:purple; margin-left:5px"></div>
34 <div id=
"block2">A float is a renderer that is designed to shift all the way to the left side or all the way to the right side of a paragraph. The lines of the paragraph then flow around the floating object avoiding it. You can see an example of a float in this very paragraph. There is a purple box in the upper right hand corner. Note how all of the text in this paragraph is avoiding the float.
</div>
35 <div>A float is a renderer that is designed to shift all the way to the left side or all the way to the right side of a paragraph. The lines of the paragraph then flow around the floating object avoiding it. You can see an example of a float in this very paragraph. There is a purple box in the upper right hand corner. Note how all of the text in this paragraph is avoiding the float.
</div>
36 <div>A float is a renderer that is designed to shift all the way to the left side or all the way to the right side of a paragraph. The lines of the paragraph then flow around the floating object avoiding it. You can see an example of a float in this very paragraph. There is a purple box in the upper right hand corner. Note how all of the text in this paragraph is avoiding the float.
</div>
37 <div>A float is a renderer that is designed to shift all the way to the left side or all the way to the right side of a paragraph. The lines of the paragraph then flow around the floating object avoiding it. You can see an example of a float in this very paragraph. There is a purple box in the upper right hand corner. Note how all of the text in this paragraph is avoiding the float.
</div>
38 <div>A float is a renderer that is designed to shift all the way to the left side or all the way to the right side of a paragraph. The lines of the paragraph then flow around the floating object avoiding it. You can see an example of a float in this very paragraph. There is a purple box in the upper right hand corner. Note how all of the text in this paragraph is avoiding the float.
</div>
40 <div>A float is a renderer that is designed to shift all the way to the left side or all the way to the right side of a paragraph. The lines of the paragraph then flow around the floating object avoiding it. You can see an example of a float in this very paragraph. There is a purple box in the upper right hand corner. Note how all of the text in this paragraph is avoiding the float.
</div>
41 <div>A float is a renderer that is designed to shift all the way to the left side or all the way to the right side of a paragraph. The lines of the paragraph then flow around the floating object avoiding it. You can see an example of a float in this very paragraph. There is a purple box in the upper right hand corner. Note how all of the text in this paragraph is avoiding the float.
</div>
42 <div>A float is a renderer that is designed to shift all the way to the left side or all the way to the right side of a paragraph. The lines of the paragraph then flow around the floating object avoiding it. You can see an example of a float in this very paragraph. There is a purple box in the upper right hand corner. Note how all of the text in this paragraph is avoiding the float.
</div>