diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-04-01 21:48:15 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-04-01 21:48:15 +0200 |
commit | f284ce5c34cdf37854135524814bbacbd2932f25 (patch) | |
tree | 62047de8c15b27fab0caa0a9105a15dfea156c87 /src/plain.cc | |
parent | 4e3f41b9e5307fd951c710818687f96e8a68ca35 (diff) |
resolve CSS background-image URLs relative to styleheet URL
Diffstat (limited to 'src/plain.cc')
-rw-r--r-- | src/plain.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plain.cc b/src/plain.cc index d09f6d79..810efda1 100644 --- a/src/plain.cc +++ b/src/plain.cc @@ -95,12 +95,12 @@ DilloPlain::DilloPlain(BrowserWindow *p_bw) state = ST_SeekingEol; Layout *layout = (Layout*) bw->render_layout; - StyleEngine styleEngine (layout); + // TODO (1x) No URL? + StyleEngine styleEngine (layout, NULL); - // TODO (3x) No URL? - styleEngine.startElement ("body", bw, NULL); - styleEngine.startElement ("pre", bw, NULL); - widgetStyle = styleEngine.wordStyle (bw, NULL); + styleEngine.startElement ("body", bw); + styleEngine.startElement ("pre", bw); + widgetStyle = styleEngine.wordStyle (bw); widgetStyle->ref (); /* The context menu */ |