зеркало из https://github.com/mozilla/gecko-dev.git
Add reftest for lighter text - bug 379284
This commit is contained in:
Родитель
c6d03fa523
Коммит
8819ed1885
|
@ -18,6 +18,7 @@ skip-if(MOZ_WIDGET_TOOLKIT=="gtk2") == pseudo-classes-02.svg pseudo-classes-02-r
|
|||
== rect-with-rx-or-ry-01.svg rect-with-rx-or-ry-01-ref.svg
|
||||
== rootElement-null-01.svg pass.svg
|
||||
== stroke-width-percentage-01.svg pass.svg
|
||||
== text-font-weight-01.svg text-font-weight-01-ref.svg
|
||||
skip-if(MOZ_WIDGET_TOOLKIT=="gtk2") == text-in-link-01.svg text-in-link-01-ref.svg # bug 379600 (crashes linux)
|
||||
== viewport-percent-graphic-user-01.svg pass.svg
|
||||
== dynamic-reflow-01.svg dynamic-reflow-01-ref.svg
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
|
||||
<title>Reference for text font-weight</title>
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=379284 -->
|
||||
|
||||
<g id="test-body-content" font-family="Georgia, 'Times New Roman', Times, 'MS Mincho', serif" font-size="30">
|
||||
<text font-weight="normal" x="10" y="50">This should be normal</text>
|
||||
<text font-weight="bold" x="10" y="100">This should be bold</text>
|
||||
<text font-weight="400" x="10" y="150">This should be normal</text>
|
||||
<text font-weight="700" x="10" y="200">This should be bold</text>
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 706 B |
|
@ -0,0 +1,25 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
|
||||
<title>Reference for text font-weight</title>
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=379284 -->
|
||||
|
||||
<g id="test-body-content" font-family="Georgia, 'Times New Roman', Times, 'MS Mincho', serif" font-size="30">
|
||||
<g font-weight="bold">
|
||||
<text font-weight="lighter" x="10" y="50">This should be normal</text>
|
||||
</g>
|
||||
<g font-weight="normal">
|
||||
<text font-weight="bolder" x="10" y="100">This should be bold</text>
|
||||
</g>
|
||||
<g font-weight="700">
|
||||
<text font-weight="lighter" x="10" y="150">This should be normal</text>
|
||||
</g>
|
||||
<g font-weight="400">
|
||||
<text font-weight="bolder" x="10" y="200">This should be bold</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 868 B |
Загрузка…
Ссылка в новой задаче