librsvg source for verification 2026-05-22
This commit is contained in:
30
rsvg/tests/fixtures/reftests/a-pseudo-class.svg
vendored
Normal file
30
rsvg/tests/fixtures/reftests/a-pseudo-class.svg
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1"
|
||||
viewBox="0 0 500 600"
|
||||
font-family="sans-serif"
|
||||
font-size="18">
|
||||
<defs>
|
||||
<style>
|
||||
a { fill: red; font-family: Helvetica; font-size:10; }
|
||||
a:link { fill: black; }
|
||||
|
||||
text { fill: inherit; font-family: Helvetica; font-size:10; }
|
||||
</style>
|
||||
</defs>
|
||||
|
||||
<text x="250" y="25" class="head" text-anchor="middle">SVG CSS Tests</text>
|
||||
<g transform="translate(0,50)"><a xlink:href="#foo">
|
||||
<text x="50">a:link</text>
|
||||
<text x="250" class="test">xlink:href</text>
|
||||
</a></g>
|
||||
<g transform="translate(0,150)"><a>
|
||||
<text x="50">a:link</text>
|
||||
<text x="250" class="test">no href, not link</text>
|
||||
</a></g>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 912 B |
Reference in New Issue
Block a user