| Index: LayoutTests/svg/custom/use-events-crash.svg
|
| diff --git a/LayoutTests/svg/custom/use-events-crash.svg b/LayoutTests/svg/custom/use-events-crash.svg
|
| index a98c952a4c9ea6122fe41e5ec5135bd70f5b38d0..311f591340232a7219bdbdbe48d41f99ae4120f9 100644
|
| --- a/LayoutTests/svg/custom/use-events-crash.svg
|
| +++ b/LayoutTests/svg/custom/use-events-crash.svg
|
| @@ -1,35 +1,35 @@
|
| -<?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, 45);
|
| - 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>
|
| +<?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, 45);
|
| + 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>
|
|
|