зеркало из https://github.com/mozilla/gecko-dev.git
add reftest for bug 467472
This commit is contained in:
Родитель
d0b8cb8bf2
Коммит
c2b9bf4ef6
|
@ -0,0 +1,18 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<defs>
|
||||
<marker style="overflow: visible" id="m1" orient="auto" markerUnits="strokeWidth">
|
||||
<rect width="100%" height="100%" fill="blue"/>
|
||||
</marker>
|
||||
</defs>
|
||||
|
||||
|
||||
<rect width="100%" height="100%" fill="yellow"/>
|
||||
|
||||
<line x1="30" x2="30" y1="10" y2="10" stroke="red" stroke-width="3" marker-end="url(#m1)"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 487 B |
|
@ -0,0 +1,37 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"
|
||||
onload="startTest()">
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
|
||||
function startTest() {
|
||||
document.addEventListener("MozReftestInvalidate", boom, false);
|
||||
// in case we're not gecko
|
||||
setTimeout(boom, 5000);
|
||||
}
|
||||
|
||||
function boom() {
|
||||
n = document.getElementById("m1");
|
||||
n.style.overflow = "visible";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<defs>
|
||||
<marker id="m1" orient="auto" markerUnits="strokeWidth">
|
||||
<rect width="100%" height="100%" fill="blue"/>
|
||||
</marker>
|
||||
</defs>
|
||||
|
||||
|
||||
<rect width="100%" height="100%" fill="yellow"/>
|
||||
|
||||
<line x1="30" x2="30" y1="10" y2="10" stroke="red" stroke-width="3" marker-end="url(#m1)"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 830 B |
|
@ -32,6 +32,7 @@ include moz-only/reftest.list
|
|||
== dynamic-gradient-contents-01.svg pass.svg
|
||||
== dynamic-link-style-01.svg pass.svg
|
||||
== dynamic-marker-01.svg pass.svg
|
||||
== dynamic-marker-02.svg dynamic-marker-02-ref.svg
|
||||
== dynamic-mask-contents-01.svg pass.svg
|
||||
== dynamic-pattern-01.svg pass.svg
|
||||
== dynamic-pattern-02.svg pass.svg
|
||||
|
|
Загрузка…
Ссылка в новой задаче