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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/obscured-background-no-repaint.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/obscured-background-no-repaint.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/obscured-background-no-repaint.html b/third_party/WebKit/LayoutTests/paint/invalidation/spv2/obscured-background-no-repaint.html
deleted file mode 100644
index 1b83745e403dfdc7f32638ef0b6ffe6ea5e4304c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/obscured-background-no-repaint.html
+++ /dev/null
@@ -1,97 +0,0 @@
-<!-- Based on fast/repaint/obscured-background-no-repaint.html -->
-<html>
-<head>
-<script src="../../../fast/repaint/../../resources/run-after-layout-and-paint.js"></script>
-<script src="resources/paint-invalidation-test.js"></script>
-<style type="text/css">
- #test1 div {
- height: 100px;
- width: 100px;
- }
- #test1 .parent {
- background-image: url(../../../fast/repaint/resources/animated.gif)
- }
- #test1 .child {
- background-color: green;
- }
-
- #test2 .parent {
- position: relative;
- height: 100px;
- width: 100px;
- background-image: url(../../../fast/repaint/resources/animated.gif);
- background-repeat: no-repeat;
- background-position: center;
- }
-
- #test2 .child {
- background-color: green;
- position: relative;
- left: 25px;
- top: 25px;
- height: 50px;
- width: 50px;
- }
- #test3 img {
- background-image: url(../../../fast/repaint/resources/animated.gif)
- }
- #test4 .parent {
- position: relative;
- height: 100px;
- width: 100px;
- background-color: red;
- background-repeat: no-repeat;
- background-position: center;
- background-image: url(../../../fast/repaint/resources/animated.gif)
- }
-</style>
-<script>
- // Test that obscured animated gif does not trigger repaints.
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
- }
- window.testIsAsync = true;
- function paintInvalidationTest()
- {
- runAfterLayoutAndPaint(finishPaintInvalidationTest);
- }
-
- function start() {
- if (!window.testRunner || !window.internals)
- return;
-
- var img = new Image();
- img.onload = runPaintInvalidationTest;
- img.src = "../../../fast/repaint/resources/animated.gif";
- }
-</script>
-</head>
-<body onload="start()">
-<div id="test1">
- <div class="parent">
- <div class="child">
- </div>
- </div>
-</div>
-<div id="test2">
- <div class="parent">
- <div class="child">
- </div>
- </div>
-</div>
-<div id="test3">
- <img src="../../../fast/repaint/resources/apple.jpg">
-</div>
-<div id="test4">
- <div class="parent">
- <a>
- <div></div>
- <div>
- <img src="../../../fast/repaint/resources/apple.jpg">
- </div>
- </a>
- </div>
-</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698