layout/reftests/bugs/594624-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 <html class="reftest-wait">
     2 <head>
     3     <script>
     4       function doTest() {
     5         var x = document.getElementById('TB_overlay');
     6         x.style.display = 'block';
     7         document.documentElement.removeAttribute('class');
     8       }
     9       document.addEventListener("MozReftestInvalidate", doTest, false);
    10     </script>
    11     <style>
    12         #TB_window
    13         {
    14             border: 1px solid red;
    15             position: fixed;
    16             top: 0;
    17             left: 0;
    18         }
    20         #TB_overlay {
    21             height: 200px;
    22             left: 10px;
    23             position: fixed;
    24             top: 80px;
    25             width: 200px;
    26             display: none;
    28             opacity: 0.1;
    30             background-color: green;
    31         }
    32     </style>
    33 </head>
    34 <body>
    35     SOME CONTENT
    36     <div id="TB_overlay">
    37     </div>
    38     <div id="TB_window"></div>
    40 </body>
    41 </html>

mercurial