5 td { width:
50px; height:
150px; vertical-align: top; }
10 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=12886">http://bugs.webkit.org/show_bug.cgi?id=
12886</a>
11 Crash with Scriptalicious javascript library
</i>.
14 You should see two purple
100×50 rectangles,
<em>not
</em> a checkerboard pattern.
16 <table cellpadding=
"0" cellspacing=
"0">
19 <div style=
"width: 50px;">
20 <div style=
"height: 50px;">
21 <div id=
"target" style=
"float: left; width: 50px; height: 100px;"></div>
24 <div style=
"clear: both; width: 50px; height: 50px; background-color: purple;">
30 <div style=
"width: 50px;">
31 <div style=
"height: 50px;">
32 <div style=
"float: left; width: 50px; height: 25px;"></div>
35 <div style=
"clear: both; width: 50px; height: 50px; background-color: purple;">
43 <div style=
"width: 50px;">
45 <div id=
"target2" style=
"float: left; width: 50px; height: 50px;"></div>
48 <div style=
"clear: both; width: 50px; height: 50px; background-color: purple;">
54 <div style=
"width: 50px; height: 50px; background-color: purple;">
59 <div style=
"height: 200px;">
63 var target
= document
.getElementById("target");
64 var target2
= document
.getElementById("target2");
65 document
.body
.offsetTop
;
66 target
.style
.height
= '25px';
67 target2
.style
.height
= '0';