mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add reftest for bug 467498
This commit is contained in:
parent
82ea8773c3
commit
80894e0bce
20
layout/reftests/svg/dynamic-use-nested-01-ref.svg
Normal file
20
layout/reftests/svg/dynamic-use-nested-01-ref.svg
Normal file
@ -0,0 +1,20 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" >
|
||||
|
||||
<g style="fill: blue;">
|
||||
<g id="g1">
|
||||
<rect id="rect" x="20%" width="4%" height="100%"/>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<g style="fill: green;">
|
||||
<g id="g2">
|
||||
<use x="20%" xlink:href="#g1"/>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<g style="fill: red;">
|
||||
<use x="20%" xlink:href="#g2"/>
|
||||
</g>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 402 B |
36
layout/reftests/svg/dynamic-use-nested-01.svg
Normal file
36
layout/reftests/svg/dynamic-use-nested-01.svg
Normal file
@ -0,0 +1,36 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
onload="boom();">
|
||||
|
||||
<script><![CDATA[
|
||||
|
||||
// reftest for bug 467498
|
||||
|
||||
function boom()
|
||||
{
|
||||
var rect = document.getElementById("rect");
|
||||
rect.setAttribute("height", "100%");
|
||||
}
|
||||
|
||||
]]></script>
|
||||
|
||||
<!-- change to lime for automated testing -->
|
||||
<rect width="100%" height="100%" fill="white"/>
|
||||
|
||||
<g style="fill: blue;">
|
||||
<g id="g1">
|
||||
<rect id="rect" x="20%" width="4%" height="20%"/>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<g style="fill: green;">
|
||||
<g id="g2">
|
||||
<use x="20%" xlink:href="#g1"/>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<g style="fill: red;">
|
||||
<use x="20%" xlink:href="#g2"/>
|
||||
</g>
|
||||
|
||||
</svg>
|
After Width: | Height: | Size: 690 B |
@ -65,6 +65,7 @@ include svg-integration/reftest.list
|
||||
== dynamic-textPath-01.svg dynamic-textPath-01-ref.svg
|
||||
== dynamic-use-01.svg pass.svg
|
||||
== dynamic-use-02.svg pass.svg
|
||||
== dynamic-use-nested-01.svg dynamic-use-nested-01-ref.svg
|
||||
== linked-pattern-01.svg pass.svg
|
||||
== use-01-extref.svg pass.svg
|
||||
== use-02-extref.svg use-02-extref-ref.svg
|
||||
|
Loading…
Reference in New Issue
Block a user