summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/conditions-04.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/conditions-04.svg')
-rw-r--r--layout/reftests/svg/conditions-04.svg15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/svg/conditions-04.svg b/layout/reftests/svg/conditions-04.svg
new file mode 100644
index 0000000000..31d963b45f
--- /dev/null
+++ b/layout/reftests/svg/conditions-04.svg
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Test that 'use'ing an element with a failing conditional fails</title>
+ <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=614265 -->
+
+ <rect id="r1" width="100%" height="100%" fill="lime"/>
+ <rect systemLanguage="x" id="r2" width="100%" height="100%" fill="red"/>
+ <use xlink:href="#r1"/>
+ <use xlink:href="#r2"/>
+</svg>