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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/317934-1-inner.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<script>
     1.7 +function clickit()
     1.8 +{
     1.9 +document.getElementById('button').click();
    1.10 +}
    1.11 +window.addEventListener('load', clickit, false);
    1.12 +</script>
    1.13 +</head>
    1.14 +<body>
    1.15 +<div style="width:400px;">
    1.16 +<q style="position:relative;"><q style="position:relative;">
    1.17 +Some random text, some random text, some random text
    1.18 +<span style="position: relative;">
    1.19 +Some random text, some random text, some random text
    1.20 +</span>
    1.21 +</q></q>
    1.22 +</div>
    1.23 +<script>
    1.24 +function doe(){
    1.25 +var q1=document.getElementsByTagName('q')[0];
    1.26 +var q2=document.getElementsByTagName('q')[1];
    1.27 +q1.style.position='static';
    1.28 +q2.style.position='static';
    1.29 +}
    1.30 +//setTimeout(doe,200);
    1.31 +</script>
    1.32 +<button id="button" onclick="doe()">Clicking this button should not crash Mozilla</button>
    1.33 +</body>
    1.34 +</html>
    1.35 \ No newline at end of file

mercurial