[raster] Treat symbol as container in SVG child-skip logic

This commit is contained in:
Behdad Esfahbod committed 2026-02-26 00:45:04 -03:00
1 parent 2622fe92e8
commit 4a4f9f2b7a
1 file changed
+2 -1
+2 -1
View File
@@ -188,7 +188,8 @@ svg_render_container_element (hb_svg_render_context_t *ctx,
}
svg_render_element (ctx, parser, state);
if (tok == SVG_TOKEN_OPEN_TAG && !child_tag.eq ("g") &&
!child_tag.eq ("svg") && !child_tag.eq ("use"))
!child_tag.eq ("svg") && !child_tag.eq ("symbol") &&
!child_tag.eq ("use"))
{
/* Skip children of non-container elements we don't handle. */
int skip_depth = 1;