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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child.html
diff --git a/third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child.html b/third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child.html
new file mode 100644
index 0000000000000000000000000000000000000000..dacd912e7e6d8db61e989b213d653220c984c772
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child.html
@@ -0,0 +1,27 @@
+<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>
+#parent {
+ display: inline-block;
+ filter: url(#filter);
+ -webkit-filter: url(#filter);
+}
+#child {
+ background-color: gray;
+ width: 50px;
+ height: 50px;
+ transform: translate(25px, 25px) scale(2);
+ -webkit-transform: translate(25px, 25px) scale(2);
+}
+</style>
+<div id="parent"><div id="child"></div></div>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-child-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698