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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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