Conversation
|
Sounds good. I saw that the code expanded the list of attributes. While at it, we can also include the color and lightning-color attributes (e.g., https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/color) to complete the list. Idk if ThorVG supports lightning-color, but it definitely supports color. |
Updated. It's prefix, so simply using |
|
Hmm... I don't know about that, suffix matching seems dangerous and like it could risk mutating unrelated metadata (e.g. |
Does it matter, it's only applied before the rendering, and metadata like this should be ignored. |
|
Oh, you're right, my bad, since this is only for rendering, I can't think of situations where it'd matter. |
Fixes godotengine/godot-proposals#14910
Adds handing for
name:xxx;values in addition toname="xxx"as well asrgb()/rgba()/hsl()/hsla()CSS colors.