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

Unified Diff: LayoutTests/svg/transforms/will-change-transform.svg

Issue 1075093002: will-change on SVG elements should not reset transforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: edit a comment. Created 5 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/svg/transforms/will-change-transform-expected.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/transforms/will-change-transform.svg
diff --git a/LayoutTests/svg/transforms/will-change-transform.svg b/LayoutTests/svg/transforms/will-change-transform.svg
new file mode 100644
index 0000000000000000000000000000000000000000..43743c82b5043183acb06b3c68c2b9b16b618ea7
--- /dev/null
+++ b/LayoutTests/svg/transforms/will-change-transform.svg
@@ -0,0 +1,15 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="300" height="200">
+ <rect width="100" height="100" fill="red" />
+ <rect x="100" width="100" height="100" fill="red"/>
+ <rect x="200" width="100" height="100" fill="red"/>
+ <rect x="300" width="100" height="100" fill="red"/>
+ <g transform="translate(-100,-100)">
+ <rect width="100" height="100" fill="green" transform="translate(100, 100)" style="will-change: transform;"/>
+ </g>
+ <g transform="translate(-100,-100)">
+ <rect width="50" height="50" fill="green" style="will-change: transform; transform:translate(200px,100px) scale(2,2);"/>
+ </g>
+ <g transform="translate(-100,-100)">
+ <rect width="50" height="50" fill="green" transform="translate(100,0)" style="will-change: transform; transform:translate(300px,100px) scale(2,2);"/>
+ </g>
+</svg>
« no previous file with comments | « no previous file | LayoutTests/svg/transforms/will-change-transform-expected.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698