mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
14 lines
458 B
HTML
14 lines
458 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<body onload="doTest()">
|
||
|
<iframe src="data:text/html,<body style='font-size:100px; overflow:hidden'><p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty"
|
||
|
id="f" style="width:500px; height:500px; border-radius:100px; border:none;"></iframe>
|
||
|
<script>
|
||
|
var f = document.getElementById("f");
|
||
|
function doTest() {
|
||
|
f.contentWindow.scrollTo(0, 80);
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|