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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/clip-unclip-and-change.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/clip-unclip-and-change.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/clip-unclip-and-change.html b/third_party/WebKit/LayoutTests/fast/repaint/clip-unclip-and-change.html
deleted file mode 100644
index 12d067289c16508c1c60fe85cb6b5ab3cd2eb5ba..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/clip-unclip-and-change.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/run-after-layout-and-paint.js"></script>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- content.style.height = '100px';
- content.style.backgroundColor = 'green';
-}
-onload = function() {
- runAfterLayoutAndPaint(function() {
- container.style.height = '400px';
- runRepaintAndPixelTest();
- });
-};
-</script>
-Tests paint invalidation of previous location of an element which was clipped to be invisible initially, becme visible because of clip change, then changed color and size. Passes if there is a green square.
-<div id="container" style="position: absolute; top: 100px; width: 100px; height: 10px; overflow: hidden">
- <div style="height: 20px"></div>
- <div style="width: 100px; height: 300px">
- <div id="content" style="width: 100px; height: 300px; background-color: red"></div>
- </div>
-</div>

Powered by Google App Engine
This is Rietveld 408576698