summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/text/reftests/no-margin-border-padding.svg
blob: b9c1b33e45d472c1587ea4037ee991f93ef7a8c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>Margin, border, and padding 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-margin-border-padding-ref.svg" />
  </g>

  <text font-size="32" y="50" style="border:5px solid red; padding:20px;">
  foo<tspan style="border:5px solid blue; padding:20px; margin-right:40px;">bar</tspan>baz
  </text>
</svg>