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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/repaint-composited-child-in-scrolled-container.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/repaint-composited-child-in-scrolled-container.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/repaint-composited-child-in-scrolled-container.html b/third_party/WebKit/LayoutTests/fast/repaint/repaint-composited-child-in-scrolled-container.html
deleted file mode 100644
index 91fad63ba3b937b3835edfd58802cd6811d77a1b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/repaint-composited-child-in-scrolled-container.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<script src="resources/text-based-repaint.js" type="text/javascript"></script>
-<style>
-#outer {
- overflow: scroll;
- width: 300px;
- height: 300px;
- background-color: blue;
- position: absolute;
-}
-#container {
- position: absolute;
- top: 0px;
- left: 50px;
- width: 600px;
- height: 600px;
- background-color: red;
- transform: translateZ(0);
-}
-</style>
-<body onload="runRepaintAndPixelTest()">
-<div id="outer">
- <div id="container"><div id="inner"></div></div>
-</div>
-
-<script>
-function repaintTest() {
- // This test ensures we properly paint composited descendants of clipped
- // ancestors in the invalidateTree step. Composited children can be moved
- // around in respect to their clipping ancestors without needing to be
- // repainted (and will have their clip applied directly by the CC), so
- // Blink needs to ignore their ancestor's clip rects to properly paint.
- // We can't just change the background color, because that gets repainted
- // in style recalc and doesn't tickle the bug.
- document.querySelector('#inner').style.border = '300px solid green';
- document.querySelector('#outer').scrollLeft = 500;
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698