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

Unified Diff: LayoutTests/svg/zoom/page/zoom-css-transforms.svg

Issue 40293002: [SVG] Fix CSS transform handling when zoomed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/zoom/page/zoom-css-transforms-expected.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/zoom/page/zoom-css-transforms.svg
diff --git a/LayoutTests/svg/zoom/page/zoom-css-transforms.svg b/LayoutTests/svg/zoom/page/zoom-css-transforms.svg
new file mode 100644
index 0000000000000000000000000000000000000000..1de569608688113fe7c52483c52dc2d2fa08c87d
--- /dev/null
+++ b/LayoutTests/svg/zoom/page/zoom-css-transforms.svg
@@ -0,0 +1,27 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
+ <g style="-webkit-transform: translate(50px, 50px);">
+ <rect width="100" height="100" fill="green"/>
+ </g>
+
+ <g style="-webkit-transform: translate(250px, 35px) rotate(45deg);">
+ <rect width="100" height="100" fill="green"/>
+ </g>
+
+ <g style="-webkit-transform: translate(300px, 35px) skewX(35deg) skewY(35deg);">
+ <rect width="100" height="100" fill="green"/>
+ </g>
+
+ <g style="-webkit-transform: translate(50px, 250px) skewX(35deg);">
+ <rect width="100" height="100" fill="green"/>
+ </g>
+
+ <g style="-webkit-transform: translate(350px, 235px) skewY(35deg);">
+ <rect width="100" height="100" fill="green"/>
+ </g>
+
+ <defs>
+ <script>var zoomCount = 2;</script>
+ <script xlink:href="../../../fast/repaint/resources/repaint.js"/>
+ <script xlink:href="../resources/testPageZoom.js"/>
+ </defs>
+</svg>
« no previous file with comments | « no previous file | LayoutTests/svg/zoom/page/zoom-css-transforms-expected.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698