Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-layer-out-of-view.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-layer-out-of-view.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-layer-out-of-view.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-layer-out-of-view.html
new file mode 100644
index 0000000000000000000000000000000000000000..5010549d87b56551251b05a38046d56b0c73a30d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-layer-out-of-view.html
@@ -0,0 +1,21 @@
+<!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: -300px; left: 100px; width: 88px; height: 88px; background-color: silver"></div>
+ <div style="position: fixed; top: 1000px; left: 100px; width: 99px; height: 99px; background-color: silver"></div>
+ There should be no repaints here:
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698