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

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html class="reftest-wait">
michael@0 3 <body>
michael@0 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"
michael@0 5 id="f" style="width:500px; height:500px; border-radius:100px; border:none;"></iframe>
michael@0 6 <script>
michael@0 7 var f = document.getElementById("f");
michael@0 8 function doTest() {
michael@0 9 f.contentWindow.scrollTo(0, 80);
michael@0 10 document.documentElement.removeAttribute('class');
michael@0 11 }
michael@0 12 document.addEventListener("MozReftestInvalidate", doTest, false);
michael@0 13 </script>
michael@0 14 </body>
michael@0 15 </html>

mercurial