From 9e86512c4fa7851571571b9a2835c2f019ca2b6a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 15 Nov 2009 10:10:00 +0000 Subject: Fix quirks mode propagation for @style. svn path=/trunk/netsurf/; revision=9675 --- render/box_construct.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/render/box_construct.c b/render/box_construct.c index 444d01fbe..bdab6159e 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -841,7 +841,8 @@ css_computed_style *box_get_style(struct content *c, if ((s = (char *) xmlGetProp(n, (const xmlChar *) "style"))) { inline_style = nscss_create_inline_style( (uint8_t *) s, strlen(s), - c->data.html.encoding, c->url, false, + c->data.html.encoding, c->url, + c->data.html.quirks != BINDING_QUIRKS_MODE_NONE, c->data.html.dict, myrealloc, c); xmlFree(s); -- cgit v1.2.3