summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/337408-1.xul
blob: f56c06ec94dbc2db5ee619526cba6b68f02d4bcf (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"?>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=337408 -->
<!-- Just checking for lack of crash, nothing more -->
<window id="svg-in-xul-stack"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:svg="http://www.w3.org/2000/svg"
        style="background-color:white;"
        screenX="20" 
        screenY="20"
        width="600"
        height="400">

  <stack>
    <box flex="1">
      <label value="foo"/>
    </box>
    <svg:svg>
      <svg:rect width="100%" height="100%" fill="red" fill-opacity="0.5"/>
    </svg:svg>
  </stack>
</window>