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

Unified Diff: third_party/WebKit/LayoutTests/svg/repaint/transform-text-element.html

Issue 1553473002: Fix SVG {text, foreignObject} transform for css animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: third_party/WebKit/LayoutTests/svg/repaint/transform-text-element.html
diff --git a/third_party/WebKit/LayoutTests/svg/repaint/transform-text-element.html b/third_party/WebKit/LayoutTests/svg/repaint/transform-text-element.html
new file mode 100644
index 0000000000000000000000000000000000000000..e9701431f20281deb949bb2ec9d784f88a26740c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/repaint/transform-text-element.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script src=../../resources/ahem.js></script>
+<script>
+ window.onload = runRepaintTest;
+
+ function repaintTest() {
+ var text = document.getElementsByTagName("text")[0];
+ text.style.transform = 'translate(0px, 50px)';
+ }
+</script>
+<body>
+<svg width="400" height="400" version="1.1" xmlns="http://www.w3.org/2000/svg">
+ <text y="80" fill="green" font-size="100" font-family="Ahem">Test</text>
+</svg>
+</body>

Powered by Google App Engine
This is Rietveld 408576698