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

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

Issue 1459953002: Fix the reference box computation for CSS filter effects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO per review Created 5 years, 1 month 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-transformed-child-expected.html
diff --git a/third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child-expected.html b/third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..cd9312a7d181fd07dc1e45cdc0911803d9367df5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child-expected.html
@@ -0,0 +1,25 @@
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="0" height="0">
+ <defs>
+ <filter id="filter" x="25%" y="0%" width="50%" height="100%">
+ <feComponentTransfer>
+ <feFuncR type="linear" intercept="0" slope="1"/>
+ <feFuncG type="linear" intercept="0" slope="0"/>
+ <feFuncB type="linear" intercept="0" slope="0"/>
+ <feFuncA type="linear" intercept="0" slope="1"/>
+ </feComponentTransfer>
+ </filter>
+ </defs>
+</svg>
+<style>
+div {
+ display: inline-block;
+ filter: url(#filter);
+ -webkit-filter: url(#filter);
+ background-color: gray;
+ width: 50px;
+ height: 50px;
+ transform: translate(25px, 25px) scale(2);
+ -webkit-transform: translate(25px, 25px) scale(2);
+}
+</style>
+<div></div>

Powered by Google App Engine
This is Rietveld 408576698