summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/baseline-middle-01.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/baseline-middle-01.svg')
-rw-r--r--layout/reftests/svg/baseline-middle-01.svg10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/svg/baseline-middle-01.svg b/layout/reftests/svg/baseline-middle-01.svg
new file mode 100644
index 0000000000..7120c4fa89
--- /dev/null
+++ b/layout/reftests/svg/baseline-middle-01.svg
@@ -0,0 +1,10 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -10 20 20" preserveAspectRatio="none"
+ font-family="sans-serif">
+ <rect y="-10" width="20" height="20" fill="lime"/>
+ <text dominant-baseline="middle" fill="red">x</text>
+ <text y="0.5ex" fill="lime" stroke-width="1" stroke="lime">x</text>
+</svg>