summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/dynamic-reflow-01.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/dynamic-reflow-01.svg')
-rw-r--r--layout/reftests/svg/dynamic-reflow-01.svg10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/svg/dynamic-reflow-01.svg b/layout/reftests/svg/dynamic-reflow-01.svg
new file mode 100644
index 000000000..a882ac8c7
--- /dev/null
+++ b/layout/reftests/svg/dynamic-reflow-01.svg
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
+ <rect id="test" x="100" y="100" width="100" height="100"/>
+ <script>
+ window.onload = function() {
+ var node = document.getElementById("test");
+ node.style.width = "200px";
+ }
+ </script>
+</svg>