layout/base/crashtests/313086-1.xml

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 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">
     3 <html xmlns='http://www.w3.org/1999/xhtml' id="root" class="reftest-wait">
     5 <div id="D1"><div id="D2"/></div>
     7 <script>
     8 <![CDATA[
    10 function gE(id) { return document.getElementById(id); }
    12 function init()
    13 {
    14   gE("root").style.display = "table";
    16   gE("D1").style.position = "absolute";
    18   setTimeout(function() {gE("D2").style.position = "fixed";}, 100);
    19   setTimeout(function() {gE("D1").style.overflow = "hidden";}, 200);
    20   setTimeout(function() {gE("root").style.width = "200%"; document.documentElement.removeAttribute("class"); }, 300);
    21 }
    23 window.addEventListener("load", init, false);
    25 ]]>
    26 </script>
    28 </html>

mercurial