diff options
author | Sebastian Geerken <devnull@localhost> | 2014-04-02 00:23:36 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-04-02 00:23:36 +0200 |
commit | 06bfcf7715899f9ff5e551d4146770b3a7096141 (patch) | |
tree | a860b0f11d858d22797c9d0e4ba633e5148df9d1 /src/html.cc | |
parent | 7563c505fc1d76c69a3a2b369b27465996b5fcf4 (diff) | |
parent | f284ce5c34cdf37854135524814bbacbd2932f25 (diff) |
Merge with main repo.
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.cc b/src/html.cc index f6233864..3b49fae8 100644 --- a/src/html.cc +++ b/src/html.cc @@ -405,7 +405,7 @@ DilloHtml::DilloHtml(BrowserWindow *p_bw, const DilloUrl *url, DocType = DT_NONE; /* assume Tag Soup 0.0! :-) */ DocTypeVersion = 0.0f; - styleEngine = new StyleEngine (HT2LT (this)); + styleEngine = new StyleEngine (HT2LT (this), base_url); cssUrls = new misc::SimpleVector <DilloUrl*> (1); @@ -1799,7 +1799,7 @@ static void Html_tag_open_style(DilloHtml *html, const char *tag, int tagsize) static void Html_tag_close_style(DilloHtml *html) { if (prefs.parse_embedded_css && html->loadCssFromStash) - html->styleEngine->parse(html, NULL, html->Stash->str, html->Stash->len, + html->styleEngine->parse(html, html->base_url, html->Stash->str, html->Stash->len, CSS_ORIGIN_AUTHOR); } |