]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
src/svgtiny_strings.h: intern the universal selector string "*"
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 12 Oct 2023 22:07:44 +0000 (18:07 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 20 Nov 2023 01:37:04 +0000 (20:37 -0500)
This is a prerequisite for implementing the node_has_name() select
handler.

src/svgtiny_strings.h

index 38fdd2c37069759bb22efb5bf86d12e192b05daf..0a69edd2172f413bb3bd3a546fc711e70683384d 100644 (file)
@@ -55,5 +55,6 @@ SVGTINY_STRING_ACTION2(stroke_width,stroke-width)
 SVGTINY_STRING_ACTION2(stop_color,stop-color)
 SVGTINY_STRING_ACTION2(zero_percent,0%)
 SVGTINY_STRING_ACTION2(hundred_percent,100%)
+SVGTINY_STRING_ACTION2(universal,*)
 
 #undef SVGTINY_STRING_ACTION