layout/base/crashtests/446328-top.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/446328-top.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<title>Bug 446328 – Crash [@ nsImageLoader::RedrawDirtyFrame] with document that has border-image and gets display: none</title>
     1.7 +</head>
     1.8 +<body>
     1.9 +<iframe src="446328-iframe.html" id="a"></iframe>
    1.10 +<script>
    1.11 +function doe(){
    1.12 +  var v = document.body.offsetHeight;
    1.13 +  document.getElementById('a').style.display = 'none';
    1.14 +  document.getElementById('a').style.display = 'inline';
    1.15 +  v = document.body.offsetHeight;
    1.16 +  document.getElementById('a').style.display = 'block';
    1.17 +  document.getElementById('a').style.display = 'none';
    1.18 +  v = document.body.offsetHeight;
    1.19 +}
    1.20 +setTimeout(doe,10);
    1.21 +setTimeout("location.reload()",20);
    1.22 +</script>
    1.23 +</body>
    1.24 +</html>

mercurial