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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context.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/mix-blend-mode-separate-stacking-context.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context.html b/third_party/WebKit/LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context.html
deleted file mode 100644
index 102c096b3c7df508a3a5c91108b0dd5f2d1bf287..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<style>
- div {
- margin: 20px;
- width: 60px;
- height: 60px;
- float: left;
- }
-</style>
-<script src="resources/text-based-repaint.js" type="text/javascript"></script>
-<!-- Repaint test to ensure that setting a blend mode dynamically triggers this operation
- only with the contents of the nearest ancestor stacking context. -->
-<body onload="runRepaintAndPixelTest()">
- <div style="background: green; position: relative; z-index: -1;">
- <div id="first" style="mix-blend-mode: normal; background-color: blue;"></div>
- </div>
- <div style="background: green; position: relative; z-index: -1;">
- <div id="second" style="mix-blend-mode: hue; background-color: blue;"></div>
- </div>
- <div style="background: green; position: relative; z-index: -1;">
- <div id="third" style="mix-blend-mode: hue; background-color: blue;"></div>
- </div>
- <div id="fourth" style="background: green;">
- <div style="mix-blend-mode: hue; background-color: blue;"></div>
- </div>
-
- <script>
- function repaintTest() {
- document.getElementById('first').style.mixBlendMode = "multiply";
- document.getElementById('second').style.mixBlendMode = "normal";
- document.getElementById('third').style.mixBlendMode = "multiply";
- document.getElementById('fourth').style.position = "relative";
- document.getElementById('fourth').style.zIndex = -1;
- }
- </script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698