diff options
author | Andrew Sidwell <andy@entai.co.uk> | 2008-07-11 18:34:36 +0000 |
---|---|---|
committer | Andrew Sidwell <andy@entai.co.uk> | 2008-07-11 18:34:36 +0000 |
commit | 421e7d357831d852bb5ce50bd1729cad12b13dbf (patch) | |
tree | ffe6e32797d170c5e3627c6227e764a52b96d12a /src/treebuilder/internal.h | |
parent | 76eeba6e538eb6ca44910bdfb5c1900cfb78b076 (diff) | |
download | libhubbub-421e7d357831d852bb5ce50bd1729cad12b13dbf.tar.gz libhubbub-421e7d357831d852bb5ce50bd1729cad12b13dbf.tar.bz2 |
Make at least a good start on SVG support (commented-out in the spec). Move foreign attribute name processing to in_foreign_content.c.
svn path=/trunk/hubbub/; revision=4614
Diffstat (limited to 'src/treebuilder/internal.h')
-rw-r--r-- | src/treebuilder/internal.h | 7 |
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 |