| <html> |
| <body> |
| WebKit Bug 87264 - Crash in run-ins with continuations while moving back to original position.<br /> |
| Test passes if it does not crash.<br /> |
| <style> |
| .runIn { display: run-in; } |
| </style> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| document.body.offsetTop; |
| |
| runIn1 = document.createElement('div'); |
| runIn1.setAttribute('class', 'runIn'); |
| document.body.appendChild(runIn1); |
| |
| q1 = document.createElement('q'); |
| q1.style.display = 'block'; |
| document.body.appendChild(q1); |
| |
| span1 = document.createElement('span'); |
| q1.appendChild(span1); |
| |
| document.body.offsetTop; |
| |
| runIn1.appendChild(document.createElement('div')); |
| span1.style.display = 'block'; |
| document.body.offsetTop; |
| q1.style.display = 'none'; |
| </script> |
| </body> |
| </html> |