зеркало из https://github.com/mozilla/pjs.git
Reftests for objectBoundingBox patterns. These cover bug 338596, bug 377263, bug 377399 and bug 416762
This commit is contained in:
Родитель
702c939f24
Коммит
60e3345373
|
@ -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">
|
||||
|
||||
<title>Testcase for elements referencing an objectBoundingBox pattern</title>
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=338596 -->
|
||||
|
||||
<defs>
|
||||
<pattern id="test" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox">
|
||||
<rect x="0" y="0" width="1" height="1" fill="lime"/>
|
||||
</pattern>
|
||||
</defs>
|
||||
|
||||
<rect x="20" y="20" width="200" height="200" fill="url(#test)"/>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 599 B |
|
@ -0,0 +1,19 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<title>Testcase for elements referencing an objectBoundingBox pattern</title>
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=377399 -->
|
||||
|
||||
<defs>
|
||||
<pattern id="test" viewBox="0 0 40 40" patternContentUnits="objectBoundingBox">
|
||||
<rect x="0" y="0" width="40" height="40" fill="lime" />
|
||||
</pattern>
|
||||
</defs>
|
||||
<g transform="translate(20 20)">
|
||||
<rect x="0" y="0" width="200" height="200" fill="url(#test)" />
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 637 B |
|
@ -0,0 +1,19 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<title>Testcase for elements referencing an objectBoundingBox pattern</title>
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=377399 -->
|
||||
|
||||
<defs>
|
||||
<pattern id="test" viewBox="0 0 40 40" patternContentUnits="objectBoundingBox">
|
||||
<rect x="0" y="0" width="40" height="40" fill="lime" />
|
||||
</pattern>
|
||||
</defs>
|
||||
<g transform="translate(20 20) scale(2)">
|
||||
<rect x="0" y="0" width="100" height="100" fill="url(#test)" />
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 646 B |
|
@ -33,6 +33,9 @@ fails == inline-in-xul-basic-01.xul pass.svg
|
|||
== linearGradient-basic-01.svg pass.svg
|
||||
== linearGradient-basic-02.svg pass.svg
|
||||
== nested-viewBox-01.svg pass.svg
|
||||
== objectBoundingBox-and-pattern-01a.svg objectBoundingBox-and-pattern-ref-01.svg
|
||||
== objectBoundingBox-and-pattern-01b.svg objectBoundingBox-and-pattern-ref-01.svg
|
||||
== objectBoundingBox-and-pattern-01c.svg objectBoundingBox-and-pattern-ref-01.svg
|
||||
fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == opacity-and-gradient-01.svg pass.svg # bug 379610
|
||||
== opacity-and-pattern-01.svg pass.svg
|
||||
== pseudo-classes-01.svg pass.svg
|
||||
|
|
Загрузка…
Ссылка в новой задаче