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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-lighting-expected.html

Issue 2341923002: Harmonize FilterEffect::mapRect and mapPaintRect (Closed)
Patch Set: Tests and tweaks 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-lighting-expected.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-lighting-expected.html b/third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-lighting-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..3eb57ecc4824175f3aed2e01fa1cecaac1e62853
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-lighting-expected.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+.box {
+ width: 200px;
+ height: 200px;
+ margin: 20px;
+ background-color: rgba(0, 128, 0, 0.01);
+ filter: url(#lighting);
+}
+</style>
+<div class="box"></div>
+<svg width="0" height="0">
+ <filter id="lighting" x="-0.5" y="-0.5" width="2" height="2">
+ <feOffset dx="1" dy="1"/>
+ <feComposite in="SourceGraphic"/>
+ <feDiffuseLighting surfaceScale="200">
+ <feDistantLight azimuth="-45"/>
+ </feDiffuseLighting>
+ <feColorMatrix values="0 0 0 0 0, 0.33 0.33 0.33 0 0, -0.25 0 0 0.25 0, 0 0 0 1 0"/>
+ </filter>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698