dom/xbl/crashtests/493123-1.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     4 <bindings xmlns="http://www.mozilla.org/xbl">
     5   <binding id="a"><content></content></binding>
     6   <binding id="b"><content><style xmlns="http://www.w3.org/1999/xhtml" style="display: none;">* { overflow: hidden; }</style><children xmlns="http://www.mozilla.org/xbl"/></content></binding>
     7 </bindings>
     9 <script type="text/javascript" style="display: none">
    11 function one()
    12 {
    13   while (document.documentElement.firstChild) document.documentElement.removeChild(document.documentElement.firstChild)
    14   document.documentElement.style.MozBinding = 'url("#a")';
    15   setTimeout(two, 1);
    16 }
    18 function two()
    19 {
    20   document.documentElement.style.MozBinding = 'url("#b")';
    21   setTimeout(three, 1);
    22 }
    24 function three()
    25 {
    26   document.documentElement.style.MozBinding = 'url("#a")';
    27   document.documentElement.removeAttribute("class");
    28 }
    30 </script>
    31 </head>
    33 <body onload="one();"></body>
    34 </html>

mercurial