reftests for bug 423998
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/licenses/publicdomain/
|
||||||
|
-->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<title>Reference for dynamic rect changes</title>
|
||||||
|
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=423998 -->
|
||||||
|
<rect x="50" y="100" width="50" height="50" fill="lime"/>
|
||||||
|
<rect x="200" y="100" width="50" height="50" fill="lime"/>
|
||||||
|
<rect x="50" y="200" width="50" height="50" fill="lime"/>
|
||||||
|
<rect x="200" y="200" width="50" height="50" fill="lime"/>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 558 B |
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/licenses/publicdomain/
|
||||||
|
-->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="m();">
|
||||||
|
<title>Testcase for dynamic rect changes</title>
|
||||||
|
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=423998 -->
|
||||||
|
<script>
|
||||||
|
function m() {
|
||||||
|
document.getElementById("rect1").setAttribute("fill", "lime");
|
||||||
|
document.getElementById("rect2").setAttribute("x", "50");
|
||||||
|
document.getElementById("rect3").setAttribute("transform", "translate(200,0)");
|
||||||
|
document.getElementById("rect4").removeAttribute("filter");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<filter id="shadow" filterUnits="objectBoundingBox">
|
||||||
|
<feGaussianBlur in="SourceAlpha" stdDeviation="5"/>
|
||||||
|
</filter>
|
||||||
|
<rect id="rect1" x="50" y="100" width="50" height="50" fill="red"/>
|
||||||
|
<rect id="rect2" x="0" y="200" width="50" height="50" fill="lime"/>
|
||||||
|
<rect id="rect3" x="0" y="100" width="50" height="50" fill="lime"/>
|
||||||
|
<rect id="rect4" x="200" y="200" width="50" height="50" filter="url(#shadow)" fill="lime"/>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 1.0 KiB |
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/licenses/publicdomain/
|
||||||
|
-->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="m();">
|
||||||
|
<title>Testcase for dynamic rect changes with filters</title>
|
||||||
|
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=423998 -->
|
||||||
|
<script>
|
||||||
|
function m() {
|
||||||
|
document.getElementById("rect1").setAttribute("x", "50");
|
||||||
|
document.getElementById("rect2").setAttribute("transform", "translate(200,0)");
|
||||||
|
document.getElementById("rect3").setAttribute("filter", "url(#shadow)");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<filter id="shadow" filterUnits="objectBoundingBox">
|
||||||
|
<feGaussianBlur in="SourceAlpha" stdDeviation="5"/>
|
||||||
|
</filter>
|
||||||
|
<rect id="rect1" x="0" y="100" width="50" height="50" filter="url(#shadow)" />
|
||||||
|
<rect id="rect2" x="0" y="100" width="50" height="50" filter="url(#shadow)" />
|
||||||
|
<rect id="rect3" x="50" y="200" width="50" height="50"/>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 942 B |
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/licenses/publicdomain/
|
||||||
|
-->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="m();">
|
||||||
|
<title>Testcase for dynamic rect changes with filters</title>
|
||||||
|
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=423998 -->
|
||||||
|
<script>
|
||||||
|
function m() {
|
||||||
|
document.getElementById("rect1").setAttribute("x", "50");
|
||||||
|
document.getElementById("rect2").setAttribute("transform", "translate(200,0)");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<filter id="shadow" filterUnits="objectBoundingBox">
|
||||||
|
<feGaussianBlur in="SourceAlpha" stdDeviation="5"/>
|
||||||
|
</filter>
|
||||||
|
<g filter="url(#shadow)">
|
||||||
|
<rect id="rect1" x="0" y="100" width="50" height="50" />
|
||||||
|
<rect id="rect2" x="0" y="100" width="50" height="50" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 799 B |
|
@ -0,0 +1,18 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/licenses/publicdomain/
|
||||||
|
-->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<title>Reference for dynamic text changes with filters</title>
|
||||||
|
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=423998 -->
|
||||||
|
<filter id="shadow" filterUnits="objectBoundingBox">
|
||||||
|
<feGaussianBlur in="SourceAlpha" stdDeviation="5"/>
|
||||||
|
</filter>
|
||||||
|
<text x="50" y="100" font-size="50" filter="url(#shadow)">Test1</text>
|
||||||
|
<text x="200" y="100" font-size="50" filter="url(#shadow)">Test2</text>
|
||||||
|
<text x="50" y="200" font-size="50" filter="url(#shadow)">Test3</text>
|
||||||
|
<text x="200" y="200" font-size="50" filter="url(#shadow)">Test4</text>
|
||||||
|
<text x="50" y="300" font-size="50" filter="url(#shadow)">Test5</text>
|
||||||
|
<text x="200" y="300" font-size="50" filter="url(#shadow)">Test6</text>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 887 B |
|
@ -0,0 +1,28 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/licenses/publicdomain/
|
||||||
|
-->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="m();">
|
||||||
|
<title>Testcase for dynamic text changes with filters</title>
|
||||||
|
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=423998 -->
|
||||||
|
<script>
|
||||||
|
function m() {
|
||||||
|
document.getElementById("text1").firstChild.nodeValue = "Test1";
|
||||||
|
document.getElementById("text2").setAttribute("x", "200");
|
||||||
|
document.getElementById("text3").setAttribute("font-size", "50");
|
||||||
|
document.getElementById("text4").setAttribute("font-size", "50");
|
||||||
|
document.getElementById("text5").setAttribute("transform", "translate(50,0)");
|
||||||
|
document.getElementById("text6").setAttribute("filter", "url(#shadow)");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<filter id="shadow" filterUnits="objectBoundingBox">
|
||||||
|
<feGaussianBlur in="SourceAlpha" stdDeviation="5"/>
|
||||||
|
</filter>
|
||||||
|
<text id="text1" x="50" y="100" filter="url(#shadow)" font-size="50"> </text>
|
||||||
|
<text id="text2" x="0" y="100" filter="url(#shadow)" font-size="50">Test2</text>
|
||||||
|
<text id="text3" x="50" y="200" filter="url(#shadow)" font-size="5">Test3</text>
|
||||||
|
<text id="text4" x="200" y="200" filter="url(#shadow)" font-size="100">Test4</text>
|
||||||
|
<text id="text5" x="0" y="300" filter="url(#shadow)" font-size="50">Test5</text>
|
||||||
|
<text id="text6" x="200" y="300" font-size="50">Test6</text>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 1.4 KiB |
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/licenses/publicdomain/
|
||||||
|
-->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<title>Reference for dynamic text changes with filters</title>
|
||||||
|
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=423998 -->
|
||||||
|
<filter id="shadow" filterUnits="objectBoundingBox">
|
||||||
|
<feGaussianBlur in="SourceAlpha" stdDeviation="5"/>
|
||||||
|
</filter>
|
||||||
|
<g filter="url(#shadow)">
|
||||||
|
<text x="50" y="100" font-size="50">Test1</text>
|
||||||
|
<text x="200" y="100" font-size="50">Test2</text>
|
||||||
|
<text x="50" y="200" font-size="50">Test3</text>
|
||||||
|
<text x="200" y="200" font-size="50">Test4</text>
|
||||||
|
<text x="50" y="300" font-size="50">Test5</text>
|
||||||
|
</g>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 745 B |
|
@ -0,0 +1,28 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/licenses/publicdomain/
|
||||||
|
-->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="m();">
|
||||||
|
<title>Testcase for dynamic text changes</title>
|
||||||
|
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=423998 -->
|
||||||
|
<script>
|
||||||
|
function m() {
|
||||||
|
document.getElementById("text1").firstChild.nodeValue = "Test1";
|
||||||
|
document.getElementById("text2").setAttribute("x", "200");
|
||||||
|
document.getElementById("text3").setAttribute("font-size", "50");
|
||||||
|
document.getElementById("text4").setAttribute("font-size", "50");
|
||||||
|
document.getElementById("text5").setAttribute("transform", "translate(50,0)");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<filter id="shadow" filterUnits="objectBoundingBox">
|
||||||
|
<feGaussianBlur in="SourceAlpha" stdDeviation="5"/>
|
||||||
|
</filter>
|
||||||
|
<g filter="url(#shadow)" >
|
||||||
|
<text id="text1" x="50" y="100" font-size="50"> </text>
|
||||||
|
<text id="text2" x="0" y="100" font-size="50">Test2</text>
|
||||||
|
<text id="text3" x="50" y="200" font-size="5">Test3</text>
|
||||||
|
<text id="text4" x="200" y="200" font-size="100">Test4</text>
|
||||||
|
<text id="text5" x="0" y="300" font-size="50">Test5</text>
|
||||||
|
</g>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 1.2 KiB |
|
@ -15,7 +15,13 @@ include moz-only/reftest.list
|
||||||
== currentColor-02.svg pass.svg
|
== currentColor-02.svg pass.svg
|
||||||
== currentColor-03.svg pass.svg
|
== currentColor-03.svg pass.svg
|
||||||
== dynamic-link-style-01.svg pass.svg
|
== dynamic-link-style-01.svg pass.svg
|
||||||
|
== dynamic-rect-01.svg dynamic-rect-01-ref.svg
|
||||||
|
== dynamic-rect-02.svg dynamic-rect-02-ref.svg
|
||||||
|
== dynamic-rect-03.svg dynamic-rect-03-ref.svg
|
||||||
== dynamic-reflow-01.svg dynamic-reflow-01-ref.svg
|
== dynamic-reflow-01.svg dynamic-reflow-01-ref.svg
|
||||||
|
== dynamic-text-01.svg dynamic-text-01-ref.svg
|
||||||
|
== dynamic-text-02.svg dynamic-text-02-ref.svg
|
||||||
|
== dynamic-text-03.svg dynamic-text-03-ref.svg
|
||||||
== fallback-color-01a.svg pass.svg
|
== fallback-color-01a.svg pass.svg
|
||||||
== fallback-color-01b.svg pass.svg
|
== fallback-color-01b.svg pass.svg
|
||||||
== fallback-color-02a.svg fallback-color-02-ref.svg
|
== fallback-color-02a.svg fallback-color-02-ref.svg
|
||||||
|
|