2 <html lang=
"en" class=
"reftest-wait">
4 <title>Removing an existing display item from the bottom of an existing PaintedLayer shouldn't cause the other items in that layer to change layers
</title>
9 box-sizing: border-box;
12 border:
1px solid black;
31 #aboutToBecomeHidden {
43 <div class=
"fixed content">
45 This layer is just there to force .onTopOfFixed into a PaintedLayer above
50 <div class=
"onTopOfFixed content" id=
"aboutToBecomeHidden" style=
"visibility: visible">
52 This item starts out visible, in the same layer as the other .onTopOfFixed item.
56 <div class=
"onTopOfFixed reftest-no-paint content">
58 This item shouldn't repaint when the other .onTopOfFixed item becomes invisible.
65 document
.querySelector("#aboutToBecomeHidden").style
.visibility
= "hidden";
66 document
.documentElement
.removeAttribute("class");
68 document
.addEventListener("MozReftestInvalidate", doTest
);