Fix quirks mode propagation for @style.

svn path=/trunk/netsurf/; revision=9675
This commit is contained in:
John Mark Bell 2009-11-15 10:10:00 +00:00
parent 976e5db268
commit 9e86512c4f

View File

@ -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);