layout/base/crashtests/830299-1.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <head>
     4 <style>
     5 .test {
     6   position:fixed;
     7   display:none;
     8   width:100px; height:100px;
     9   background:yellow;
    10 }
    11 .doTest .test {
    12   display:block;
    13 }
    14 </style>
    15 </head>
    16 <body>
    17 <div style="transform:translate(10px,0); overflow:scroll; width:200px; height:200px;">
    18   <div class="test"></div>
    19 </div>
    20 <script>
    21 function doTest() {
    22   document.documentElement.setAttribute("class", "doTest");
    23 }
    24 window.addEventListener("MozReftestInvalidate", doTest, false);
    25 </script>
    26 </body>
    27 </html>

mercurial