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 moves over a link on www.opportuno.de
</i>.
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.
8 <span id=
"outer" style=
"position: relative; z-index: 100;">
9 <div id=
"inner" style=
"position: absolute; height: 50px; width: 50px; background-color: blue;">
12 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
14 if (window
.testRunner
)
15 testRunner
.waitUntilDone();
16 runAfterLayoutAndPaint(function() {
17 document
.getElementById("outer").style
.removeProperty("z-index");
18 document
.getElementById("inner").style
.display
= "none";
19 if (window
.testRunner
)
20 testRunner
.notifyDone();