| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"> |
| |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="480" height="360" viewBox="0 0 480 360" onload="test()"> |
| <script> |
| function test() |
| { |
| if (window.eventSender) { |
| eventSender.mouseMoveTo(370, 60); |
| eventSender.contextClick(); |
| } |
| } |
| |
| </script> |
| |
| <g id="test-body-content"> |
| <defs> |
| <g fill="red" stroke="yellow" stroke-width="3"> |
| <rect id="usedRect" width="40" height="40"/> |
| </g> |
| </defs> |
| <g> |
| <g id="labels" transform="translate(330, 40)" font-size="12" text-anchor="end"> |
| <text>Right-clicking on green box using a debug build</text> |
| </g> |
| <g id="labels" transform="translate(330, 54)" font-size="12" text-anchor="end"> |
| <text>should not cause an assert (Bugzilla Bug 12580)</text> |
| </g> |
| </g> |
| <g transform="translate(350, 25)"> |
| <use xlink:href="#usedRect" fill="#0F0"/> |
| </g> |
| </g> |
| |
| </svg> |