| OLD | NEW |
| 1 <p> | 1 <p> |
| 2 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=23848">https://
bugs.webkit.org/show_bug.cgi?id=23848</a> REGRESSION: Crash when mouse cursor mo
ves over a link on www.opportuno.de</i>. | 2 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=23848">https://
bugs.webkit.org/show_bug.cgi?id=23848</a> REGRESSION: Crash when mouse cursor mo
ves over a link on www.opportuno.de</i>. |
| 3 </p> | 3 </p> |
| 4 <p> | 4 <p> |
| 5 This tests that changing the z-index of an inline correctly invalidates its | 5 This tests that changing the z-index of an inline correctly invalidates its |
| 6 layer’s and its stacking context’s z-index lists. | 6 layer’s and its stacking context’s z-index lists. |
| 7 </p> | 7 </p> |
| 8 <span id="outer" style="position: relative; z-index: 100;"> | 8 <span id="outer" style="position: relative; z-index: 100;"> |
| 9 <div id="inner" style="position: absolute; height: 50px; width: 50px; backgr
ound-color: blue;"> | 9 <div id="inner" style="position: absolute; height: 50px; width: 50px; backgr
ound-color: blue;"> |
| 10 </div> | 10 </div> |
| 11 </span> | 11 </span> |
| 12 <script src="../../resources/run-after-display.js"></script> |
| 12 <script> | 13 <script> |
| 13 function test() | 14 if (window.testRunner) |
| 14 { | 15 testRunner.waitUntilDone(); |
| 16 runAfterDisplay(function() { |
| 15 document.getElementById("outer").style.removeProperty("z-index"); | 17 document.getElementById("outer").style.removeProperty("z-index"); |
| 16 document.getElementById("inner").style.display = "none"; | 18 document.getElementById("inner").style.display = "none"; |
| 17 } | 19 if (window.testRunner) |
| 18 | 20 testRunner.notifyDone(); |
| 19 if (window.testRunner) { | 21 }); |
| 20 document.body.offsetTop; | |
| 21 testRunner.display(); | |
| 22 test(); | |
| 23 } else | |
| 24 setTimeout(test, 0); | |
| 25 </script> | 22 </script> |
| OLD | NEW |