|
1 <html> |
|
2 <head> |
|
3 <title>Bug 446328 – Crash [@ nsImageLoader::RedrawDirtyFrame] with document that has border-image and gets display: none</title> |
|
4 </head> |
|
5 <body> |
|
6 <iframe src="446328-iframe.html" id="a"></iframe> |
|
7 <script> |
|
8 function doe(){ |
|
9 var v = document.body.offsetHeight; |
|
10 document.getElementById('a').style.display = 'none'; |
|
11 document.getElementById('a').style.display = 'inline'; |
|
12 v = document.body.offsetHeight; |
|
13 document.getElementById('a').style.display = 'block'; |
|
14 document.getElementById('a').style.display = 'none'; |
|
15 v = document.body.offsetHeight; |
|
16 } |
|
17 setTimeout(doe,10); |
|
18 setTimeout("location.reload()",20); |
|
19 </script> |
|
20 </body> |
|
21 </html> |