Index: third_party/WebKit/LayoutTests/paint/invalidation/fixed-move-after-scroll.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/fixed-move-after-scroll.html b/third_party/WebKit/LayoutTests/paint/invalidation/fixed-move-after-scroll.html |
index 633415f409b258f6e24e406fcc470b489d3c200e..36397c55ed31979dbb6ff67933cbcd78848d70c5 100644 |
--- a/third_party/WebKit/LayoutTests/paint/invalidation/fixed-move-after-scroll.html |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/fixed-move-after-scroll.html |
@@ -17,7 +17,8 @@ |
</head> |
<body onload="scrollAndRepaint()" style="height: 3000px;"> |
<p style="position: absolute; top: 210">You should see a yellow rect on the left, and a green one on the right. No red pixels.</p> |
- <div id="toMove" style="width: 100px; height: 100px; background-color: red; position: fixed; top: 70px; left: 10px;"></div> |
+ <!-- Using 99% opacity to ensure fixed position is not automatically promoted. --> |
+ <div id="toMove" style="width: 100px; height: 100px; background-color: red; position: fixed; top: 70px; left: 10px; opacity: 0.99;"></div> |
<div style="width: 100px; height: 100px; background-color: yellow; position: absolute; top: 270px; left: 10px; z-index: -5;"></div> |
</body> |
</html> |