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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/filter-region-negative-transformed-child-expected.html

Issue 2297213003: Fix CSS reference filters with negative transformed children. (Closed)
Patch Set: Created 4 years, 4 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/css3/filters/filter-region-negative-transformed-child-expected.html
diff --git a/third_party/WebKit/LayoutTests/css3/filters/filter-region-negative-transformed-child-expected.html b/third_party/WebKit/LayoutTests/css3/filters/filter-region-negative-transformed-child-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..686e747bde62eb2d40e599c3533527d9f61e211c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/filters/filter-region-negative-transformed-child-expected.html
@@ -0,0 +1,32 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
+ <defs>
+ <filter id="f1" color-interpolation-filters="sRGB">
+ <feColorMatrix type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"/>
+ </filter>
+ </defs>
+</svg>
+<style>
+.box {
+ width: 100px;
+ height: 100px;
+ position: absolute;
+}
+.green {
+ background-color: green;
+}
+.blue {
+ background-color: blue;
+}
+.below {
+ top: 100px;
+}
+.parent {
+ filter: url(#f1);
+ background-color: white;
+ position: relative;
+}
+</style>
+<div class="parent">
+<div class="blue box"></div>
+<div class="green box below"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698