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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

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