summaryrefslogtreecommitdiff
path: root/src/treebuilder/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/treebuilder/internal.h')
-rw-r--r--src/treebuilder/internal.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/treebuilder/internal.h b/src/treebuilder/internal.h
index 04ef26b..3d65db7 100644
--- a/src/treebuilder/internal.h
+++ b/src/treebuilder/internal.h
@@ -30,6 +30,8 @@ typedef enum
CODE, LABEL, RP, RT, RUBY, SPAN, SUB, SUP, VAR, XMP,
/* MathML */
MATH, MGLYPH, MALIGNMARK, MI, MO, MN, MS, MTEXT,
+/* SVG */
+ SVG,
UNKNOWN,
} element_type;
@@ -172,10 +174,13 @@ bool formatting_list_replace(hubbub_treebuilder *treebuilder,
element_type type, void *node, uint32_t stack_index,
element_type *otype, void **onode, uint32_t *ostack_index);
+/* in_foreign_content.c */
+void adjust_svg_attributes(hubbub_treebuilder *treebuilder,
+ hubbub_tag *tag);
void adjust_foreign_attributes(hubbub_treebuilder *treebuilder,
hubbub_tag *tag);
-/* This one's in in_body.c */
+/* in_body.c */
void aa_insert_into_foster_parent(hubbub_treebuilder *treebuilder, void *node);
#ifndef NDEBUG