| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <title>overflow on subsequent bodys should not propagate to the viewport</title> |
| html { overflow:visible; } |
| #test { display:block; overflow:scroll; width:10em; height:10em; border:thin solid; } |
| window.onload = function() { |
| var newElm = document.getElementsByTagName("body")[0].cloneNode(false); |
| document.documentElement.appendChild(newElm); |
| document.getElementsByTagName("p")[0].firstChild.data = "There should be scrollbars for the box below -- not for the viewport."; |
| <p>FAIL (script didn't run)</p> |