summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/367111-1.svg
blob: dcf6a39bf702491e4992d44613ca6cd7f096b283 (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
<svg xmlns="http://www.w3.org/2000/svg" 
     xmlns:html="http://www.w3.org/1999/xhtml"
     onload="setTimeout(boom, 30);"
     class="reftest-wait">

<html:script>

function boom()
{
  document.getElementById("text").appendChild(document.getElementById("fo"));
  
  document.documentElement.removeAttribute("class");
}

</html:script>
  
<defs>
  <marker>
    <text id="text">svg:text</text>
  </marker>
</defs>

<foreignObject id="fo">
  <div xmlns="http://www.w3.org/1999/xhtml">
    <p>HTML in a foreignObject</p>
  </div>
</foreignObject>

</svg>