]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny_css.c: case-insensitivity for node_has_attribute_substring()
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 17 Oct 2023 01:19:04 +0000 (21:19 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 20 Nov 2023 16:42:26 +0000 (11:42 -0500)
commited265576e5a9c4daf8e938548f3d18b106bd07fe
tree36e3dc40c72b66d874e79c34e8f488b62a11d44a
parentba9d4706f67f4061f471e2031ce76f2a6be8ab50
src/svgtiny_css.c: case-insensitivity for node_has_attribute_substring()

All of the CSS attribute selectors take a flag to make the comparison
case-insensitive. Libcss doesn't support that yet, but in the case of
node_has_attribute_substring(), factoring out the implementation and
letting it take an "insensitive" flag will be of use to us when we
implement the node_is_lang() select handler.
src/svgtiny_css.c