summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/text/multiple-x-percentages.svg
blob: faf7a64ced668b6571aca05a79f35e1e465c5e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" class="reftest-wait">
  <text x="50 50%" y="100" style="font: 16px sans-serif">hello</text>
  <text x="150" y="100 75%" style="font: 16px sans-serif">there</text>
  <script>
    window.addEventListener("MozReftestInvalidate", function() {
      document.documentElement.setAttribute("width", "200");
      document.documentElement.setAttribute("height", "200");
      document.documentElement.removeAttribute("class");
    }, false);
  </script>
</svg>