librsvg source for verification 2026-05-22
This commit is contained in:
12
rsvg/tests/fixtures/reftests/bugs-reftests/bug1121-feimage-embedded-svg.svg
vendored
Normal file
12
rsvg/tests/fixtures/reftests/bugs-reftests/bug1121-feimage-embedded-svg.svg
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- We set the filter's bounds to exactly match the filtered
|
||||
object, as the default is to extend a bit past its edges. This
|
||||
lets the embedded.svg image match the reference results
|
||||
exactly.-->
|
||||
<filter id="foo" filterUnits="objectBoundingBox" x="0" y="0" width="100%" height="100%">
|
||||
<feImage xlink:href="embedded.svg"/>
|
||||
</filter>
|
||||
|
||||
<rect width="100%" height="100%" fill="white"/>
|
||||
<rect x="10" y="10" width="10" height="10" filter="url(#foo)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 594 B |
Reference in New Issue
Block a user