Index: third_party/WebKit/LayoutTests/svg/text/text-positioning-mutate-textnode.html |
diff --git a/third_party/WebKit/LayoutTests/svg/text/text-positioning-mutate-textnode.html b/third_party/WebKit/LayoutTests/svg/text/text-positioning-mutate-textnode.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2808c1f4c565fc431573a08e23e4912772b5f89e |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/text/text-positioning-mutate-textnode.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/run-after-layout-and-paint.js"></script> |
+<svg width="400px" height="400px"> |
+ <text font-size="40"> |
+ <tspan dy="40">1</tspan> |
+ <tspan dy="40">4</tspan> |
+ </text> |
+</svg> |
+<script> |
+runAfterLayoutAndPaint(function() { |
+ var tspans = document.querySelectorAll('tspan'); |
+ tspans[0].textContent = '123'; |
+ tspans[1].textContent = '456'; |
+}, true); |
+</script> |