layout/reftests/border-radius/invalidate-1a.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <body>
     4 <div id="d" style="background:blue; border-radius:50px; width:200px; height:100px;">
     5 </div>
     6 <script>
     7 function doTest() {
     8   var d = document.getElementById("d");
     9   d.style.height = "200px";
    10   document.documentElement.className = "";
    11 }
    12 window.addEventListener("MozReftestInvalidate", doTest, false);
    13 </script>
    14 </body>
    15 </html>

mercurial