Index: third_party/WebKit/LayoutTests/paint/invalidation/fixed-with-border-under-composited-absolute-scrolled.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/fixed-under-composited-absolute-scrolled.html b/third_party/WebKit/LayoutTests/paint/invalidation/fixed-with-border-under-composited-absolute-scrolled.html |
similarity index 88% |
copy from third_party/WebKit/LayoutTests/paint/invalidation/fixed-under-composited-absolute-scrolled.html |
copy to third_party/WebKit/LayoutTests/paint/invalidation/fixed-with-border-under-composited-absolute-scrolled.html |
index 732504d405097028326c31b5e8d6ff44490e5fa5..a19aa9afbdf0d0d4e6af1c1ede7e1b0265f80677 100644 |
--- a/third_party/WebKit/LayoutTests/paint/invalidation/fixed-under-composited-absolute-scrolled.html |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/fixed-with-border-under-composited-absolute-scrolled.html |
@@ -14,8 +14,8 @@ onload = function() { |
<style> |
#indicator { |
position: absolute; |
- height: 200px; |
- width: 100px; |
+ height: 220px; |
+ width: 120px; |
top: 400px; |
left: 0; |
background-color: red; |
@@ -30,18 +30,19 @@ onload = function() { |
z-index: 1000; |
} |
#fixed { |
- position: fixed; |
/* Using 99% opacity to ensure fixed position is not automatically promoted. */ |
opacity: 0.99; |
+ position: fixed; |
top: 0; |
left: 0; |
width: 100px; |
height: 100px; |
+ border: 10px solid blue; |
background-color: green; |
} |
</style> |
Tests paint invalidation of fixed element under a composited absolute element on resize after scrolled. |
-Passes if there is a 100x200 green rectangle and no red. |
+Passes if there is a 100x200 green rectangle with blue border and no red. |
<div id="indicator"></div> |
<div id="absolute"> |
<div id="fixed"> |