Index: LayoutTests/paint/invalidation/spv2/stacking-context-lost-expected.html |
diff --git a/LayoutTests/fast/repaint/stacking-context-lost.html b/LayoutTests/paint/invalidation/spv2/stacking-context-lost-expected.html |
similarity index 54% |
copy from LayoutTests/fast/repaint/stacking-context-lost.html |
copy to LayoutTests/paint/invalidation/spv2/stacking-context-lost-expected.html |
index 38fb7abe0da5cec032ee16a647422685df6f3756..4ae17b52e062a4dc863950cdf05ee86d07306dc9 100644 |
--- a/LayoutTests/fast/repaint/stacking-context-lost.html |
+++ b/LayoutTests/paint/invalidation/spv2/stacking-context-lost-expected.html |
@@ -1,21 +1,9 @@ |
<!DOCTYPE html> |
-<script src="resources/text-based-repaint.js"></script> |
-<script> |
-function repaintTest() |
-{ |
- outer.style.zIndex = 'auto'; |
- inner.style.display = 'none'; |
-} |
- |
-runRepaintTest(); |
-</script> |
<div style="position: absolute; top: 10px; left: 10px; height: 100px;"> |
There should be one green box below. A red box may be seen briefly, but the page should settle |
on showing only the one green box. Intent is to ensure that we accurately repaint the red box |
region when (1) the green box containing the red box ceases to be a stacking context, and (2) |
the red box is hidden. |
</div> |
-<div id="outer" style="background-color: green; height: 100px; width: 100px; backface-visibility: hidden; position: relative; z-index: 1; top: 270px; left: 270px;"> |
- <div id="inner" style="background-color: red; height: 100px; width: 100px; position: relative;"> |
- </div> |
+<div id="outer" style="background-color: green; height: 100px; width: 100px; backface-visibility: hidden; position: relative; top: 270px; left: 270px;"> |
</div> |