summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/951904-1.html
blob: 7a1d1d4dd4faa75d66308b5002e7d02c85135d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<body onload="go()">
<svg>
  <switch>
    <text id="a">Bonjour</text>
    <text id="b">Hello</text>
    <a><text id="c">Hello</text></a>
    <g>
      <mask>
        <text>Lundi</text>
      </mask>
    </g>
    <switch>
      <text id="d">Au revoir</text>
      <g>
        <mask>
          <text>Mercredi</text>
        </mask>
      </g>
      <text id="e">Goodbye</text>
      <a><text id="f">Goodbye</text></a>
    </switch>
  </switch>
</svg>
<svg>
  <switch>
    <mask>
      <text id="g">Vendredi</text>
    </mask>
    <a></a>
  </switch>
</svg>
</body>
<script>
function go() {
  a.getComputedTextLength();
  b.getComputedTextLength();
  c.getComputedTextLength();
  d.getComputedTextLength();
  e.getComputedTextLength();
  f.getComputedTextLength();
  g.getComputedTextLength();
}
</script>