aboutsummaryrefslogtreecommitdiff
path: root/src/plain.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-04-01 21:48:15 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-04-01 21:48:15 +0200
commitf284ce5c34cdf37854135524814bbacbd2932f25 (patch)
tree62047de8c15b27fab0caa0a9105a15dfea156c87 /src/plain.cc
parent4e3f41b9e5307fd951c710818687f96e8a68ca35 (diff)
resolve CSS background-image URLs relative to styleheet URL
Diffstat (limited to 'src/plain.cc')
-rw-r--r--src/plain.cc10
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 */