Index: LayoutTests/paint/invalidation/spv2/fixed-scroll-in-empty-root-layer-expected.html |
diff --git a/LayoutTests/paint/invalidation/spv2/fixed-scroll-in-empty-root-layer-expected.html b/LayoutTests/paint/invalidation/spv2/fixed-scroll-in-empty-root-layer-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..38d2b6677a1723085defa963721fbfa02fda686f |
--- /dev/null |
+++ b/LayoutTests/paint/invalidation/spv2/fixed-scroll-in-empty-root-layer-expected.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<script> |
+onload = function() { |
+ window.scrollBy(0, 200); |
+} |
+</script> |
+<body style="height: 2000px"> |
+ Tests invalidation of fixed element when scrolled in a page with empty root layer. Passes if there is no red. |
+ <div style=" |
+ position: absolute; |
+ top: 250px; |
+ left: 0; |
+ width: 100px; |
+ height: 100px; |
+ background: green"> |
+ </div> |
+</body> |