]> 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, 9 Jun 2025 01:13:06 +0000 (21:13 -0400)
commit47baf5ec6c6fcb7aade766ac1a2fd866d74d1576
treed4122605af20eac2900c3a156cd9101b800efe59
parent2b99bae775f648e142a0df2a6806a8ef08f94d8e
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