summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/svg-image-external.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/as-image/svg-image-external.svg')
-rw-r--r--layout/reftests/svg/as-image/svg-image-external.svg10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/svg/as-image/svg-image-external.svg b/layout/reftests/svg/as-image/svg-image-external.svg
new file mode 100644
index 0000000000..721d4fe13c
--- /dev/null
+++ b/layout/reftests/svg/as-image/svg-image-external.svg
@@ -0,0 +1,10 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ width="100" height="100">
+ <!-- This blue rect should be covered up by the <image> when this SVG is
+ loaded as an image by a local document, but not when the document is
+ served over HTTP: -->
+ <rect width="100" height="100" fill="blue"/>
+ <image width="100" height="100"
+ xlink:href="lime100x100.png"/>
+</svg>