Reftests for bug 389670 (fixed by bug 387466)
|
@ -0,0 +1,8 @@
|
|||
<!--
|
||||
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>Testcase reference file for generic pass condition</title>
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 297 B |
|
@ -0,0 +1,9 @@
|
|||
|
||||
== xbl-basic-01.svg pass.svg
|
||||
== xbl-basic-02.svg pass.svg
|
||||
== xbl-grad-ref--grad-in-binding-01.svg pass.svg
|
||||
== xbl-grad-ref--grad-in-binding-02.svg pass.svg
|
||||
== xbl-grad-ref--grad-in-bound-01.svg pass.svg
|
||||
fails == xbl-grad-ref--grad-in-bound-02.svg pass.svg
|
||||
fails == xbl-grad-ref--grad-in-resources-01.svg pass.svg
|
||||
fails == xbl-grad-ref--grad-in-resources-02.svg pass.svg
|
|
@ -0,0 +1,23 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="-moz-binding: url(#lime);">
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=389670 -->
|
||||
|
||||
<title>Test XBL bindings inline in an SVG file can be used in the SVG</title>
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="lime">
|
||||
<content>
|
||||
<children/>
|
||||
<rect xmlns="http://www.w3.org/2000/svg"
|
||||
width="100%" height="100%" fill="lime"/>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 659 B |
|
@ -0,0 +1,14 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
style="-moz-binding: url(xbl-basic-02.xbl#lime);">
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=389670 -->
|
||||
|
||||
<title>Test XBL bindings in an external file can be used by SVG</title>
|
||||
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 415 B |
|
@ -0,0 +1,9 @@
|
|||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="lime">
|
||||
<content>
|
||||
<children/>
|
||||
<rect xmlns="http://www.w3.org/2000/svg"
|
||||
width="100%" height="100%" fill="lime"/>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
|
@ -0,0 +1,29 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=389670 -->
|
||||
|
||||
<title>Test gradient reference in binding for gradient in <binding></title>
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="lime">
|
||||
<content>
|
||||
<children/>
|
||||
<g xmlns="http://www.w3.org/2000/svg">
|
||||
<linearGradient id="grad" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="lime"/>
|
||||
</linearGradient>
|
||||
<rect width="100%" height="100%" fill="url(#grad)"/>
|
||||
</g>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
|
||||
<g style="-moz-binding: url(#lime);"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 824 B |
|
@ -0,0 +1,14 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
style="-moz-binding: url(xbl-grad-ref--grad-in-binding-02.xbl#lime);">
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=389670 -->
|
||||
|
||||
<title>Test gradient reference in binding for gradient in <binding></title>
|
||||
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 445 B |
|
@ -0,0 +1,13 @@
|
|||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="lime">
|
||||
<content>
|
||||
<children/>
|
||||
<g xmlns="http://www.w3.org/2000/svg">
|
||||
<linearGradient id="grad" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="lime"/>
|
||||
</linearGradient>
|
||||
<rect width="100%" height="100%" fill="url(#grad)"/>
|
||||
</g>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
|
@ -0,0 +1,27 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="-moz-binding: url(#lime);">
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=389670 -->
|
||||
|
||||
<title>Test gradient reference in binding for gradient outside <bindings></title>
|
||||
|
||||
<linearGradient id="grad" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="lime"/>
|
||||
</linearGradient>
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="lime">
|
||||
<content>
|
||||
<children/>
|
||||
<rect xmlns="http://www.w3.org/2000/svg"
|
||||
width="100%" height="100%" fill="url(#grad)"/>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 786 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"
|
||||
style="-moz-binding: url(xbl-grad-ref--grad-in-bound-02.xbl#red);">
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=389670 -->
|
||||
|
||||
<title>Test SVG in XBL can't reference gradient in the bound document</title>
|
||||
|
||||
<!-- SVG in the binding should not be able to reference this gradient -->
|
||||
<linearGradient id="grad" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="red"/>
|
||||
</linearGradient>
|
||||
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 625 B |
|
@ -0,0 +1,10 @@
|
|||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="red">
|
||||
<content>
|
||||
<children/>
|
||||
<!-- gradient reference should fail, fill should fall back to black -->
|
||||
<rect xmlns="http://www.w3.org/2000/svg"
|
||||
width="100%" height="100%" fill="url(#grad)"/>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
|
@ -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">
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=389670 -->
|
||||
|
||||
<title>Test gradient reference in binding for gradient in <resources></title>
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="lime">
|
||||
<resources>
|
||||
|
||||
<!-- don't need <svg> - only used to eliminate its omission as a problem -->
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<linearGradient xmlns="http://www.w3.org/2000/svg"
|
||||
id="grad" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="lime"/>
|
||||
</linearGradient>
|
||||
</svg>
|
||||
|
||||
</resources>
|
||||
<content>
|
||||
<children/>
|
||||
<rect xmlns="http://www.w3.org/2000/svg"
|
||||
width="100%" height="100%" fill="url(#grad)"/>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
|
||||
<g style="-moz-binding: url(#lime);"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 1.0 KiB |
|
@ -0,0 +1,14 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
style="-moz-binding: url(xbl-grad-ref--grad-in-resources-02.xbl#lime);">
|
||||
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=389670 -->
|
||||
|
||||
<title>Test gradient reference in binding for gradient in <resources></title>
|
||||
|
||||
<rect width="100%" height="100%" fill="red"/>
|
||||
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 449 B |
|
@ -0,0 +1,21 @@
|
|||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="lime">
|
||||
<resources>
|
||||
|
||||
<!-- don't need <svg> - only used to eliminate its omission as a problem -->
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<linearGradient xmlns="http://www.w3.org/2000/svg"
|
||||
id="grad" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="lime"/>
|
||||
</linearGradient>
|
||||
</svg>
|
||||
|
||||
</resources>
|
||||
<content>
|
||||
<children/>
|
||||
<rect xmlns="http://www.w3.org/2000/svg"
|
||||
width="100%" height="100%" fill="url(#grad)"/>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
|
@ -5,6 +5,9 @@ include bugs/reftest.list
|
|||
# sizing tests
|
||||
include sizing/reftest.list
|
||||
|
||||
# Mozilla only tests (i.e. those containing XUL/XBL/etc.)
|
||||
include moz-only/reftest.list
|
||||
|
||||
== clipPath-basic-01.svg pass.svg
|
||||
== foreignObject-01.svg pass.svg
|
||||
== foreignObject-ancestor-style-change-01.svg foreignObject-ancestor-style-change-01-ref.svg
|
||||
|
|
|
@ -307,5 +307,5 @@ fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == object--auto-auto--px-0.html ob
|
|||
skip == dynamic--inline-resize-window-height.xhtml pass.svg # XXX breaks the reftest run as the window height somehow is not restored
|
||||
== dynamic--inline-resize-window-width.xhtml pass.svg
|
||||
fails == dynamic--object-svg-unloaded.xhtml pass.svg
|
||||
|
||||
# == dynamic--object--auto-auto--pct-px.html
|
||||
|
||||
|
|