Reftest for dynamic link style change - Bug 398105

This commit is contained in:
longsonr@gmail.com 2008-02-10 12:14:00 -08:00
parent b97edefc3b
commit 7623818e49
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,16 @@
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
onload="setTimeout(function() { document.getElementById('r').removeAttribute('xlink:href'); }, 0);">
<title>Testcase for dynamic changes to link styles</title>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=398105 -->
<style type="text/css">
a:link rect { fill: red; }
</style>
<a xlink:href="do-not-visit-me.xxx" id="r">
<rect width="100%" height="100%" fill="lime" />
</a>
</svg>

After

Width:  |  Height:  |  Size: 526 B

View File

@ -12,6 +12,8 @@ include moz-only/reftest.list
== currentColor-01.svg pass.svg
== currentColor-02.svg pass.svg
== currentColor-03.svg pass.svg
== dynamic-link-style-01.svg pass.svg
== dynamic-reflow-01.svg dynamic-reflow-01-ref.svg
== fallback-color-01a.svg pass.svg
== fallback-color-01b.svg pass.svg
== fallback-color-02a.svg fallback-color-02-ref.svg
@ -52,4 +54,3 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == text-font-weight-01.svg text-font-weigh
== text-style-01d.svg text-style-01-ref.svg
== text-style-01e.svg text-style-01-ref.svg
== viewport-percent-graphic-user-01.svg pass.svg
== dynamic-reflow-01.svg dynamic-reflow-01-ref.svg