2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <title>background on subsequent bodys should not cover the viewport
</title>
6 html { background-color:transparent; background-image:none; }
7 #test { background-image:url(resources/red.png); padding:
0; }
8 p { background-image:url(resources/lime.png); }
11 window
.onload = function() {
12 var newElm
= document
.getElementsByTagName("body")[0].cloneNode(false);
14 document
.documentElement
.appendChild(newElm
);
15 document
.getElementsByTagName("p")[0].firstChild
.data
= "This line should be green and there should be no red.";
20 <p>FAIL (script didn't run)
</p>