summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/text/ignore-position.svg
blob: ec0878264f59db8bc6ac30e127f962a80154189c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" width="700" height="200">
  <g style="font: 16px sans-serif">
    <text x="100" y="40">hello <tspan style="position: relative; left: 20px">there</tspan> everyone</text>
    <text x="100" y="60">hello <tspan style="position: absolute; top: 0; left: 0">there</tspan> everyone</text>
    <text x="100" y="80">hello <tspan style="position: fixed; top: 0; left: 0">there</tspan> everyone</text>
    <text x="100" y="100">hello <tspan style="position: sticky; left: 500px">there</tspan> everyone</text>
  </g>
</svg>