convertColor: Correctly shorten #FF0000 (upper case) to red
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
ce92515c1c
commit
a3c4aa86d9
2 changed files with 4 additions and 2 deletions
|
|
@ -9,6 +9,6 @@
|
|||
<rect id="rect" width="100" height="100" fill="rgb(15,16,17)" stroke="darkgrey" />
|
||||
<circle id="circle" cx="100" cy="100" r="30" fill="url(#g1)" stroke="url(#c1)" />
|
||||
<ellipse id="ellipse" cx="100" cy="100" rx="30" ry="30" style="fill:#ffffff" fill="black" />
|
||||
<rect id="short_color" width="100" height="100" fill="rgb(255,0, 0)" stroke="#ff0000" />
|
||||
<rect id="short_color" width="100" height="100" fill="rgb(255,0, 0)" stroke="#FF0000" />
|
||||
<rect id="tied_color" width="100" height="100" fill="blue" stroke="rgb(0, 0, 255)" />
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 768 B After Width: | Height: | Size: 768 B |
Loading…
Add table
Add a link
Reference in a new issue