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> |