0.92.x XML editor, adding fill:currentColor automatically adds color
Migrated from: https://bugs.launchpad.net/inkscape/+bug/1431794
No longer a problem in 1.0alpha
Steps to reproduce:
- Open class.svg in Inkscape
- Create a circle
- Open the XML Editor dialog
- Select the circle
- Add the attribute "class" with value "ColorScheme-Background" and click set.
- Select the style attribute and in the value, change fill:#HEXHEX to fill:currentColor (or add it if there is no fill:#ffffff)
- Click set
What happened?
Style attribute has color:#333333 added.
This breaks the functionality of the css.
What should have happened?
No color attribute added
Inkscape Version and Operating System:
- Inkscape 0.91-3 Ubuntu 15.04
- Inkscape 0.92.3 (2405546, 2018-03-11) ppa, Linux Mint 19.1
- Inkscape 0.92.x (5095c1b47b, 2019-04-30) build, Linux Mint 19.1
Not replicated in 1.0alpha (9dee831, 2019-01-15) appimage Linux Mint 19.1