<head> | |
<style> | |
html { | |
height: 2000px; | |
width: 1000px; | |
} | |
</style> | |
<script> | |
onload = function() { | |
window.scrollTo(200, 500); | |
// The calls below should not take effect, given | |
// that setting scrollTop/Left on the root node | |
// is no-op in quirks-mode, and that the body | |
// is a frameset. | |
document.documentElement.scrollTop = 1; | |
document.body.scrollTop = 2; | |
parent.verifyTest() | |
} | |
</script> | |
</head> | |
<frameset> | |
<frame src="about:blank"></frame> | |
</frameset> |