Reftest to test that text in a link is displayed

git-svn-id: svn://10.0.0.236/trunk@221981 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jwatt%jwatt.org
2007-03-16 19:18:40 +00:00
parent ef177c2426
commit c2028d3eb8
3 changed files with 41 additions and 0 deletions

View File

@@ -3,3 +3,4 @@
== getElementById-a-element-01.svg pass.svg
== pseudo-classes-01.svg pass.svg
== pseudo-classes-02.svg pseudo-classes-02-ref.svg
== text-in-link-01.svg text-in-link-01-ref.svg

View File

@@ -0,0 +1,16 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
style="font-size:2em;">
<title>Reference to check that text in links is displayed</title>
<!-- link in text -->
<text x="10" y="50" fill="lime">This should be green</text>
<!-- link in tspan -->
<text x="10" y="100" fill="lime">This should be green</text>
<!-- tspan in link -->
<text x="10" y="150" fill="lime">This should be green</text>
</svg>

After

Width:  |  Height:  |  Size: 473 B

View File

@@ -0,0 +1,24 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
style="font-size:2em;">
<title>Testcase to check that text in links is displayed</title>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=330059 -->
<!-- link in text -->
<text x="10" y="50">
<a fill="lime">This should be green</a>
</text>
<!-- link in tspan -->
<text x="10" y="100">
<tspan><a fill="lime">This should be green</a></tspan>
</text>
<!-- tspan in link -->
<text>
<a><tspan x="10" y="150" fill="lime">This should be green</tspan></a>
</text>
</svg>

After

Width:  |  Height:  |  Size: 616 B