Index: LayoutTests/svg/repaint/modify-inserted-listitem.html |
diff --git a/LayoutTests/svg/repaint/modify-inserted-listitem.html b/LayoutTests/svg/repaint/modify-inserted-listitem.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5b1f70c73ac4fdeb6b6f65bc337db4671cc3f941 |
--- /dev/null |
+++ b/LayoutTests/svg/repaint/modify-inserted-listitem.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<svg width="100" height="100"> |
+ <rect id="ref" x="20" y="30" width="10" height="10" fill="red"></rect> |
+ <rect id="move" x="10" y="10" width="10" height="10" fill="green"></rect> |
+</svg> |
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
+<script> |
+testIsAsync = true; |
+window.onload = runRepaintTest; |
+ |
+function repaintTest() { |
+ var transform = document.querySelector('svg').createSVGTransform(); |
+ transform.matrix.e = 10; |
+ document.querySelector('#move').transform.baseVal.appendItem(transform); |
+ |
+ requestAnimationFrame(function() { |
+ transform.matrix.f = 20; |
+ if (window.testRunner) |
+ finishRepaintTest(); |
+ }); |
+} |
+</script> |