Index: third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-layer-no-content.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-layer-no-content.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-layer-no-content.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9a61fe480a43af14b1b507f6375c8ab770892939 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-layer-no-content.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="../resources/text-based-repaint.js"></script> |
+ <script type="text/javascript"> |
+ if (window.internals) |
+ internals.settings.setPreferCompositingToLCDTextEnabled(true); |
+ function repaintTest() |
+ { |
+ window.scrollTo(0, 1000); |
+ window.scrollTo(0, 100); |
+ } |
+ </script> |
+</head> |
+<body style="height:2000px" onload="runRepaintAndPixelTest()"> |
+ <div style="position: fixed; top: 100px; left: 100px; width: 200px; height: 200px"></div> |
+ There should be no repaints here: |
+</body> |
+</html> |