| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <body> | |
| 3 WebKit Bug 87264 - Crash in run-ins with continuations while moving back to orig
inal position.<br /> | |
| 4 Test passes if it does not crash.<br /> | |
| 5 <style> | |
| 6 .runIn { display: run-in; } | |
| 7 </style> | |
| 8 <script> | |
| 9 if (window.testRunner) | |
| 10 testRunner.dumpAsText(); | |
| 11 | |
| 12 document.body.offsetTop; | |
| 13 | |
| 14 runIn1 = document.createElement('div'); | |
| 15 runIn1.setAttribute('class', 'runIn'); | |
| 16 document.body.appendChild(runIn1); | |
| 17 | |
| 18 q1 = document.createElement('q'); | |
| 19 q1.style.display = 'block'; | |
| 20 document.body.appendChild(q1); | |
| 21 | |
| 22 span1 = document.createElement('span'); | |
| 23 q1.appendChild(span1); | |
| 24 | |
| 25 document.body.offsetTop; | |
| 26 | |
| 27 runIn1.appendChild(document.createElement('div')); | |
| 28 span1.style.display = 'block'; | |
| 29 document.body.offsetTop; | |
| 30 q1.style.display = 'none'; | |
| 31 </script> | |
| 32 </body> | |
| 33 </html> | |
| OLD | NEW |