Allow elements to be found via Document.getElementById() in the minidom document returned by scourXmlFile() (#68)
This commit is contained in:
parent
8d6301950b
commit
386d5d8656
3 changed files with 35 additions and 3 deletions
12
unittests/ids.svg
Normal file
12
unittests/ids.svg
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg id="svg1" xmlns="http://www.w3.org/2000/svg" height="100" width="100" viewBox="0 0 100 100">
|
||||
<defs>
|
||||
<linearGradient id="linearGradient1">
|
||||
<stop offset="0"/>
|
||||
<stop offset="1" stop-color="blue"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="layer1">
|
||||
<rect id="rect1" height="50" width="50" x="10" y="10" fill="url(#linearGradient1)"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 425 B |
Loading…
Add table
Add a link
Reference in a new issue