summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/struct/reftests/use-no-tspan.svg
blob: 5368ca343c869b0eb3c1cd42a77178df715141d6 (plain)
1
2
3
4
5
6
7
8
9
10
<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
  <title>Testing that 'use' cannot make 'tspan' elements visible</title>
  <h:link rel="match" href="reference/green-100x100.svg"/>
  <defs>
    <text><tspan id="t" x="20" y="100" fill="red" font-size="36">Should not see this</tspan></text>
  </defs>
  <rect width="100" height="100" fill="green"/>

  <use href="#t"/>
</svg>