Bug 612736: add crashtests for this WORKSFORME bug. r=longsonr

This commit is contained in:
Daniel Holbert 2012-11-02 15:23:16 -07:00
parent e0d30b6583
commit ecaf5041ae
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
class="reftest-wait">
<path id="path"/>
<text>
<textPath xlink:href="#path">f</textPath>
<textPath xlink:href="#path">f</textPath>
</text>
<script>
function boom()
{
var path = document.getElementById("path");
path.parentNode.removeChild(path);
document.documentElement.removeAttribute("class");
}
window.addEventListener("load", boom, false);
</script>
</svg>

After

Width:  |  Height:  |  Size: 493 B

View File

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<path id="path" d="M0 100 h50" stroke="black"/>
<text>
<textPath xlink:href="#path">abc</textPath>
<textPath xlink:href="#path">def</textPath>
</text>
</svg>

After

Width:  |  Height:  |  Size: 261 B

View File

@ -106,6 +106,8 @@ load 610594-1.html
load 610954-1.html load 610954-1.html
load 612662-1.svg load 612662-1.svg
load 612662-2.svg load 612662-2.svg
load 612736-1.svg
load 612736-2.svg
load 614367-1.svg load 614367-1.svg
load 620034-1.html load 620034-1.html
load 621598-1.svg load 621598-1.svg
@ -136,4 +138,3 @@ load 780963-1.html
load 757751-1.svg load 757751-1.svg
load 790072.svg load 790072.svg
load 791826-1.svg load 791826-1.svg