From 6eba75b1c623cd66d0a688ccf960ea0acc2a5b3f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 1 Apr 2007 20:21:58 +0000 Subject: Recognise as a synonym for (fixes 1692426) svn path=/trunk/netsurf/; revision=3231 --- render/box_construct.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render') diff --git a/render/box_construct.c b/render/box_construct.c index d034fd546..cf39901df 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -139,6 +139,7 @@ static const struct element_entry element_table[] = { {"form", box_form}, {"frameset", box_frameset}, {"iframe", box_iframe}, + {"image", box_image}, {"img", box_image}, {"input", box_input}, {"object", box_object}, @@ -949,6 +950,7 @@ struct css_style * box_get_style(struct content *c, } if ((strcmp((const char *) n->name, "img") == 0) || + (strcmp((const char *) n->name, "image") == 0) || (strcmp((const char *) n->name, "applet") == 0)) { if ((s = (char *) xmlGetProp(n, (const xmlChar *) "hspace"))) { -- cgit v1.2.3