summaryrefslogtreecommitdiff
path: root/layout/svg/crashtests/220165-1.svg
blob: 0335f78d41bc5f3c9b4a326ca19a5bf582d6cf34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>

<svg xmlns="http://www.w3.org/2000/svg" 
     xmlns:html="http://www.w3.org/1999/xhtml" height="500" 
     xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     onload="document.documentElement.getBoundingClientRect();
	     document.getElementById('x').textContent = 'New text'">

  <foreignObject x="200" y="180" width="100" height="50" >
    <html:button id="x">Old long long long text</html:button>
  </foreignObject>

  <g transform="rotate(10) translate(-100) scale(0.8)">
    <polygon style="fill:red; fill-opacity:0.5;"
	  points="350, 75 379,161 469,161 397,215
	  423,301 350,250 277,301 303,215
                     231,161 321,161" />
	
  </g>

</svg>