4 <!-- Test that setting a block element to display:none can create frames
7 body
> div { border:
1px solid black; margin:
1em;
8 font-family:sans-serif; letter-spacing:
2px; }
12 var e
= document
.getElementById(id
);
13 e
.style
.display
= 'none';
16 document
.body
.offsetHeight
;
24 <body onload=
"loaded()">
25 <div><span>Hello
</span><div id=
"d1">X
</div> <span>Kitty
</span></div>
26 <div><span>Hello
</span> <div id=
"d2">X
</div><span>Kitty
</span></div>
27 <!-- we'll create frames here, but they won't make a difference to the rendering -->
28 <div><div id=
"d3">X
</div> <span>Hello
</span> <span>Kitty
</span></div>
29 <div><span>Hello
</span> <span>Kitty
</span><div id=
"d4">X
</div></div>