summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-svgglyphs/svg-glyph-objectfill-solid.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text-svgglyphs/svg-glyph-objectfill-solid.svg')
-rw-r--r--layout/reftests/text-svgglyphs/svg-glyph-objectfill-solid.svg27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/text-svgglyphs/svg-glyph-objectfill-solid.svg b/layout/reftests/text-svgglyphs/svg-glyph-objectfill-solid.svg
new file mode 100644
index 0000000000..72b57b30ba
--- /dev/null
+++ b/layout/reftests/text-svgglyphs/svg-glyph-objectfill-solid.svg
@@ -0,0 +1,27 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <!--
+ Test that solid colors are inherited when using the objectFill
+ paint server value in SVG glyphs
+ -->
+
+ <style type="text/css">
+ <![CDATA[
+ @font-face {
+ font-family: "Liberation";
+ src:url(resources/svg.woff);
+ }
+ text
+ {
+ font-family: Liberation;
+ font-size: 200px;
+ }
+ ]]>
+ </style>
+
+ <text fill="turquoise" x="0" y="200">
+ N
+ </text>
+ <text fill="thistle" x="0" y="400">
+ O
+ </text>
+</svg>