layout/reftests/bugs/530686-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.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html class="reftest-wait">
michael@0 3 <head>
michael@0 4 <style type="text/css">
michael@0 5 #rear {
michael@0 6 width: 500px;
michael@0 7 height: 1500px;
michael@0 8 box-shadow: 0 0 71px #667;
michael@0 9 display: block;
michael@0 10 }
michael@0 11 .cover {
michael@0 12 position: absolute;
michael@0 13 width: 520px;
michael@0 14 height: 100px;
michael@0 15 background: yellow;
michael@0 16 }
michael@0 17 </style>
michael@0 18 <script>
michael@0 19 function doTest() {
michael@0 20 var es = document.getElementsByClassName("cover");
michael@0 21 for (var i = 0; i < es.length; ++i) {
michael@0 22 es[i].style.display = 'none';
michael@0 23 }
michael@0 24 document.documentElement.removeAttribute("class");
michael@0 25 }
michael@0 26 window.addEventListener("MozReftestInvalidate", doTest, false);
michael@0 27 </script>
michael@0 28 </head>
michael@0 29 <body>
michael@0 30 <div id="rear"></div>
michael@0 31 <div class="cover" style="top:100px"></div>
michael@0 32 <div class="cover" style="top:300px"></div>
michael@0 33 </body>
michael@0 34 </html>

mercurial