layout/reftests/scrolling/iframe-border-radius-ref.html

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:3c47a74e15bc
1 <!DOCTYPE HTML>
2 <html class="reftest-wait">
3 <body>
4 <iframe src="data:text/html,<body style='font-size:100px; overflow:hidden; background:white;'><p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty<p>Hello<p>Kitty"
5 id="f" style="width:500px; height:500px; border-radius:100px; border:none;"></iframe>
6 <script>
7 var f = document.getElementById("f");
8 function doTest() {
9 f.contentWindow.scrollTo(0, 80);
10 document.documentElement.removeAttribute('class');
11 }
12 document.addEventListener("MozReftestInvalidate", doTest, false);
13 </script>
14 </body>
15 </html>

mercurial