layout/base/crashtests/317934-1-inner.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:094fe2321afe
1 <html>
2 <head>
3 <script>
4 function clickit()
5 {
6 document.getElementById('button').click();
7 }
8 window.addEventListener('load', clickit, false);
9 </script>
10 </head>
11 <body>
12 <div style="width:400px;">
13 <q style="position:relative;"><q style="position:relative;">
14 Some random text, some random text, some random text
15 <span style="position: relative;">
16 Some random text, some random text, some random text
17 </span>
18 </q></q>
19 </div>
20 <script>
21 function doe(){
22 var q1=document.getElementsByTagName('q')[0];
23 var q2=document.getElementsByTagName('q')[1];
24 q1.style.position='static';
25 q2.style.position='static';
26 }
27 //setTimeout(doe,200);
28 </script>
29 <button id="button" onclick="doe()">Clicking this button should not crash Mozilla</button>
30 </body>
31 </html>

mercurial