Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<html class=reftest-wait>
<title>Acid2 reftest</title>
<link rel="match" href="px-reference.html">
<script src="/common/reftest-wait.js"></script>
<style>
* {
margin: 0;
padding: 0;
border: 0;
}
iframe {
width: 400px;
height: 300px;
}
</style>
<script>
function frameLoaded(frame) {
let fwin = frame.contentWindow;
let fdoc = frame.contentDocument;
fdoc.querySelector("#top").scrollIntoView();
takeScreenshot();
}
</script>
<iframe src="test.html" onload="frameLoaded(this)"></iframe>