layout/reftests/bugs/424766-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 <title></title>
michael@0 5
michael@0 6 <script type="text/javascript">
michael@0 7 //<![CDATA[
michael@0 8
michael@0 9 function showBug() {
michael@0 10 document.getElementById('x').style.width = 0;
michael@0 11 }
michael@0 12
michael@0 13 window.addEventListener("MozReftestInvalidate",
michael@0 14 function() {
michael@0 15 showBug();
michael@0 16 document.documentElement.className = "";
michael@0 17 }, false);
michael@0 18
michael@0 19 //]]>
michael@0 20 </script>
michael@0 21
michael@0 22 </head>
michael@0 23
michael@0 24 <body style="width: 1000px; margin: 0; padding: 0">
michael@0 25 <table cellpadding="0" cellspacing="0" align="center">
michael@0 26 <tr>
michael@0 27 <td>
michael@0 28 <div style="background:red; WIDTH: 400px; height:400px;"></div>
michael@0 29 <div id="x" style="width: 600px"></div>
michael@0 30
michael@0 31 </td>
michael@0 32 </tr>
michael@0 33 </table>
michael@0 34 <div style="position: absolute; top: 0; left: 300px; height: 400px; width: 400px; background: green; opacity: 0.9"></div>
michael@0 35
michael@0 36 <br/>
michael@0 37
michael@0 38 <div style="text-align: center;">
michael@0 39 <form method="get" action="#">
michael@0 40 <input onclick="showBug(); return false;" value="Trigger Bug" type="button" />
michael@0 41 </form>
michael@0 42 </div>
michael@0 43
michael@0 44 </body>
michael@0 45 </html>

mercurial