Add style argument.
This commit is contained in:
parent
7a83e7148d
commit
ec7d06f925
3 changed files with 72 additions and 7 deletions
10
unittests/attr-to-style.svg
Normal file
10
unittests/attr-to-style.svg
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<marker id="m">
|
||||
<rect width="200" height="100"/>
|
||||
</marker>
|
||||
</defs>
|
||||
<line x2="100" stroke="#000" marker-start="url(#m)" marker-end="url(#m)" marker-mid="url(#m)" style="color:#FF0000" />
|
||||
<line x2="100" style="stroke:#000; marker-start:url(#m); marker-end:url(#m); marker-mid: url(#m)" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 372 B |
Loading…
Add table
Add a link
Reference in a new issue