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

Unified Diff: LayoutTests/transitions/svg-layout-transition-zoom.html

Issue 947983002: Move zoom handling for x and y properties to svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: move function Created 5 years, 10 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: LayoutTests/transitions/svg-layout-transition-zoom.html
diff --git a/LayoutTests/transitions/svg-layout-transition.html b/LayoutTests/transitions/svg-layout-transition-zoom.html
similarity index 97%
copy from LayoutTests/transitions/svg-layout-transition.html
copy to LayoutTests/transitions/svg-layout-transition-zoom.html
index 4f9d72fee92a5c7b01c886172b4475be7f568d9a..4f48fc7173703eb940861a0126d76c3d16ce221f 100644
--- a/LayoutTests/transitions/svg-layout-transition.html
+++ b/LayoutTests/transitions/svg-layout-transition-zoom.html
@@ -1,5 +1,4 @@
<!DOCTYPE>
-
<html>
<head>
<style>
@@ -30,18 +29,18 @@
[0.5, 'x', 'x', 150, 20],
[0.5, 'y', 'y', 150, 20],
];
-
+
function setupTest()
{
document.getElementById('x').setAttribute('class', 'init final');
document.getElementById('y').setAttribute('class', 'init final');
}
-
+
runTransitionTest(expectedValues, setupTest);
</script>
</head>
<body>
- <svg>
+ <svg style="zoom: 2">
<rect x="100" y="100" width="100" height="100" class="init" id="x"/>
<rect x="100" y="100" width="100" height="100" class="init" id="y"/>
</svg>
« no previous file with comments | « LayoutTests/svg/zoom/xy-getcomputedstyle.html ('k') | LayoutTests/transitions/svg-layout-transition-zoom-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698