summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/text/reftests/no-background.svg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/text/reftests/no-background.svg')
-rw-r--r--testing/web-platform/tests/svg/text/reftests/no-background.svg13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/text/reftests/no-background.svg b/testing/web-platform/tests/svg/text/reftests/no-background.svg
new file mode 100644
index 0000000000..117b5d6357
--- /dev/null
+++ b/testing/web-platform/tests/svg/text/reftests/no-background.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
+ <g id="testmeta">
+ <title>Background properties should not be supported in &lt;text></title>
+ <html:link rel="help"
+ href="https://svgwg.org/svg2-draft/text.html#TextPropertiesAdaptions" />
+ <html:link rel="match" href="no-background-ref.svg" />
+ </g>
+
+ <text font-size="32" y="50" style="background-color: red;">
+ foo<tspan style="background-color: lime;">bar</tspan>baz
+ </text>
+</svg>