summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/svg-stylesheet-external.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/as-image/svg-stylesheet-external.svg')
-rw-r--r--layout/reftests/svg/as-image/svg-stylesheet-external.svg9
1 files changed, 9 insertions, 0 deletions
diff --git a/layout/reftests/svg/as-image/svg-stylesheet-external.svg b/layout/reftests/svg/as-image/svg-stylesheet-external.svg
new file mode 100644
index 000000000..2b288e426
--- /dev/null
+++ b/layout/reftests/svg/as-image/svg-stylesheet-external.svg
@@ -0,0 +1,9 @@
+<?xml-stylesheet href="svg-stylesheet-external.css" type="text/css"?>
+<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 styled as lime by the stylesheet 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"/>
+</svg>