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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/updating-scrolling-content.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/spv2/updating-scrolling-content.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/updating-scrolling-content.html b/third_party/WebKit/LayoutTests/paint/invalidation/spv2/updating-scrolling-content.html
deleted file mode 100644
index 2ca9b8cf27f0c041f4e8641beae9b2f659f44ced..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/updating-scrolling-content.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<!-- Based on compositing/overflow/updating-scrolling-content.html -->
-<!DOCTYPE html>
-
-<!--
-This test checks that the contents of accelerated scrolling layers are properly
-updated also outside the current overflow clip. See
-https://bugs.webkit.org/show_bug.cgi?id=100524.
--->
-
-<html>
-<head>
- <style type="text/css">
- #scroller {
- overflow: scroll;
- -webkit-overflow-scrolling: touch;
- width: 200px;
- height: 200px;
- }
-
- #indicator {
- background: red;
- height: 200px;
- }
-
- #content {
- height: 1000px;
- }
- </style>
- <script src="resources/paint-invalidation-test.js"></script>
- <script type="text/javascript">
- if (window.internals)
- window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
-
- window.addEventListener('load', function() {
- var scroller = document.getElementById('scroller');
- var indicator = document.getElementById('indicator');
-
- // Make sure the scrolling content is painted before we start.
- scroller.offsetTop;
-
- // Scroll all the way to the bottom and change the color of the
- // indicator (which is now outside the overflow clip).
- scroller.scrollTop = 1000;
-
- runPaintInvalidationTest();
- });
-
- function paintInvalidationTest() {
- var scroller = document.getElementById('scroller');
- var indicator = document.getElementById('indicator');
-
- indicator.style.background = 'green';
-
- // Scroll back up so that the updated (green) indicator is visible.
- scroller.scrollTop = 0;
- }
- </script>
-</head>
-<body>
- <div id="scroller">
- <div id="indicator"></div>
- <div id="content"></div>
- </div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698