summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/load-only
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/load-only')
-rw-r--r--layout/reftests/svg/load-only/filter-primitives-01.svg19
-rw-r--r--layout/reftests/svg/load-only/reftest.list3
2 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/svg/load-only/filter-primitives-01.svg b/layout/reftests/svg/load-only/filter-primitives-01.svg
new file mode 100644
index 0000000000..fa4ea14c54
--- /dev/null
+++ b/layout/reftests/svg/load-only/filter-primitives-01.svg
@@ -0,0 +1,19 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ class="reftest-wait">
+ <script>
+
+function test(e) {
+ var root = document.documentElement;
+ var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
+ document.getElementById("feMerge").appendChild(rect);
+ root.removeAttribute("class")
+}
+
+window.addEventListener("MozReftestInvalidate", test, false);
+
+ </script>
+ <filter id="filter">
+ <feMerge id="feMerge"></feMerge>
+ </filter>
+</svg>
+
diff --git a/layout/reftests/svg/load-only/reftest.list b/layout/reftests/svg/load-only/reftest.list
new file mode 100644
index 0000000000..f98db03a32
--- /dev/null
+++ b/layout/reftests/svg/load-only/reftest.list
@@ -0,0 +1,3 @@
+
+load filter-primitives-01.svg
+