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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/overflow-move-after-scroll.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/fast/repaint/overflow-move-after-scroll.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/overflow-move-after-scroll.html b/third_party/WebKit/LayoutTests/fast/repaint/overflow-move-after-scroll.html
deleted file mode 100644
index e5f133a8ccd12d71b84150637220670d0661b107..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/overflow-move-after-scroll.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="resources/text-based-repaint.js"></script>
-<style>
-
-#scroller {
- position: absolute;
- left: 10px;
- top: 60px;
- width: 700px;
- height: 400px;
- overflow: scroll;
- will-change: transform;
-}
-#block {
- background-color: #cef;
- position: absolute;
- left: 300px;
- top: 200px;
- width: 120px;
- height: 50px;
- text-align: center;
-}
-
-</style>
-</head>
-<body onload="runRepaintAndPixelTest()">
-
-This tests that a scroll updates an element's previous paint invalidation rect
-even if the element's position relative to the parent blink::Layer is unchanged.
-
-<div id="scroller" class="scroller">
- <div style="height: 600px"></div>
- <div style="position: absolute; top: 0">
- <div id="block"></div>
- </div>
-</div>
-<script>
-
-function repaintTest()
-{
- document.querySelector("#scroller").scrollTop = 100;
- document.querySelector("#block").style.left = '50px';
-}
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698