layout/reftests/bugs/505743-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <head>
     4 <style>
     5 #a {
     6   display: block;
     7   opacity:1;
     8   overflow:hidden;
     9   width: 100px;
    10   height: 100px;
    11   background-color: lime;
    12 }
    13 </style>
    14 </head>
    15 <body>
    16 <span id="a"></span>
    17 <script>
    18 function doe() {
    19  document.getElementById('a').style.opacity = '0';
    20  document.documentElement.removeAttribute("class");
    21 }
    22 document.addEventListener("MozReftestInvalidate", doe, false);
    23 </script>
    24 </body>
    25 </html>

mercurial