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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-gaussianblur-yonly.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/paint/invalidation/filters/effect-reference-repaint-gaussianblur-yonly.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-gaussianblur-yonly.html b/third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-gaussianblur-yonly.html
new file mode 100644
index 0000000000000000000000000000000000000000..e48119d791bdb52c88692fd4126d50076256d4be
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-gaussianblur-yonly.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script src="../resources/text-based-repaint.js"></script>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function repaintTest()
+ {
+ var things = document.getElementsByClassName("before");
+ while (things.length)
+ things[0].classList.remove("before");
+ }
+ </script>
+ <style>
+ .box {
+ width: 200px;
+ height: 200px;
+ margin: 50px;
+ background-color: green;
+ -webkit-filter: url(#blur);
+ filter: url(#blur);
+ }
+ .before {
+ background-color: red;
+ }
+ </style>
+ </head>
+ <body onload="runRepaintAndPixelTest()">
+ <div class="box before"></div>
+ <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
+ <defs>
+ <filter id="blur">
+ <feGaussianBlur stdDeviation="0 20"/>
+ </filter>
+ </defs>
+ </svg>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698