Index: LayoutTests/paint/invalidation/spv2/fixed-pos-inside-composited-intermediate-layer-expected.html |
diff --git a/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer.html b/LayoutTests/paint/invalidation/spv2/fixed-pos-inside-composited-intermediate-layer-expected.html |
similarity index 83% |
copy from LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer.html |
copy to LayoutTests/paint/invalidation/spv2/fixed-pos-inside-composited-intermediate-layer-expected.html |
index f8d1c420d22357055b2a5d1530bb7ccc63cf0c0f..b508705434000003402cc91c8499123163347810 100644 |
--- a/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer.html |
+++ b/LayoutTests/paint/invalidation/spv2/fixed-pos-inside-composited-intermediate-layer-expected.html |
@@ -2,7 +2,6 @@ |
<html> |
<head> |
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
<style> |
.compositedBehind { |
@@ -22,13 +21,14 @@ |
background-color: green; |
} |
-.fixed { |
- position: fixed; |
- top: 45px; |
+.absolute { |
+ position: absolute; |
+ top: 145px; |
left: 45px; |
background-color: lime; |
width: 50px; |
height: 50px; |
+ z-index: 3; |
} |
</style> |
@@ -39,7 +39,7 @@ |
internals.settings.setPreferCompositingToLCDTextEnabled(false); |
} |
- function repaintTest() { |
+ onload = function() { |
window.scrollTo(0, 100); |
} |
</script> |
@@ -48,7 +48,7 @@ |
-<body onload="runRepaintTest()"> |
+<body> |
<!-- |
Among other duplicate bugs: https://code.google.com/p/chromium/issues/detail?id=128375 |
A non-composited fixed-position element can get grouped into a composited container. |
@@ -58,9 +58,9 @@ |
--> |
<div class="compositedBehind"> </div> |
- <div class="containerOverlapsComposited"> |
- <div class="fixed"></div> |
- </div> |
+ <div class="containerOverlapsComposited"></div> |
+ |
+ <div class="absolute"></div> |
</body> |
</html> |