зеркало из https://github.com/mozilla/gecko-dev.git
Bug 725918 - tests for fill and stroke on text
This commit is contained in:
Родитель
ba00ae5790
Коммит
26067b2024
|
@ -0,0 +1,38 @@
|
||||||
|
<!--
|
||||||
|
Any copyright is dedicated to the Public Domain.
|
||||||
|
http://creativecommons.org/publicdomain/zero/1.0/
|
||||||
|
-->
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" >
|
||||||
|
|
||||||
|
<title>Testcase for fallback colours</title>
|
||||||
|
|
||||||
|
<defs>
|
||||||
|
<filter id="erode">
|
||||||
|
<feMorphology operator="dilate" radius="3"/>
|
||||||
|
</filter>
|
||||||
|
</defs>
|
||||||
|
|
||||||
|
<rect x="0%" y="0%" width="100%" height="100%" fill="lime"/>
|
||||||
|
<text x="10" y="50" font-size="50"
|
||||||
|
stroke-width="8" stroke="red" fill="none">
|
||||||
|
A B
|
||||||
|
</text>
|
||||||
|
<text x="10" y="50" font-size="50"
|
||||||
|
stroke-width="8" stroke="url(#null) lime" fill="none" filter="url(#erode)">
|
||||||
|
A B
|
||||||
|
</text>
|
||||||
|
<text x="200" y="50" font-size="50" fill="red">
|
||||||
|
A B
|
||||||
|
</text>
|
||||||
|
<text x="200" y="50" font-size="50" fill="url(#null) lime" filter="url(#erode)">
|
||||||
|
A B
|
||||||
|
</text>
|
||||||
|
<text x="10" y="200" font-size="50" fill="red"
|
||||||
|
stroke-width="1" stroke="red">
|
||||||
|
A B
|
||||||
|
</text>
|
||||||
|
<text x="10" y="200" font-size="50" fill="url(#null) lime"
|
||||||
|
stroke-width="1" stroke="url(#null) lime" filter="url(#erode)">
|
||||||
|
A B
|
||||||
|
</text>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 1.0 KiB |
|
@ -121,6 +121,7 @@ random == dynamic-use-nested-01.svg dynamic-use-nested-01-ref.svg # bug 467498
|
||||||
== fallback-color-02a.svg fallback-color-02-ref.svg
|
== fallback-color-02a.svg fallback-color-02-ref.svg
|
||||||
== fallback-color-02b.svg fallback-color-02-ref.svg
|
== fallback-color-02b.svg fallback-color-02-ref.svg
|
||||||
== fallback-color-03.svg pass.svg
|
== fallback-color-03.svg pass.svg
|
||||||
|
== fallback-color-04.svg pass.svg
|
||||||
== filter-basic-01.svg pass.svg
|
== filter-basic-01.svg pass.svg
|
||||||
== filter-basic-02.svg pass.svg
|
== filter-basic-02.svg pass.svg
|
||||||
== filter-basic-03.svg pass.svg
|
== filter-basic-03.svg pass.svg
|
||||||
|
|
Загрузка…
Ссылка в новой задаче