summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-01-06 23:53:40 +0000
committerJames Bursa <james@netsurf-browser.org>2003-01-06 23:53:40 +0000
commit3af4ad82a8da059a71e1c0e6f35e11203dd64def (patch)
tree423efd6d224b43b2428c8cc3efeadcf2f731551d /desktop
parent59a1594f21113e4627de7087335fae2d0f1d9ff8 (diff)
downloadnetsurf-3af4ad82a8da059a71e1c0e6f35e11203dd64def.tar.gz
netsurf-3af4ad82a8da059a71e1c0e6f35e11203dd64def.tar.bz2
[project @ 2003-01-06 23:53:39 by bursa]
Changes to integrate images and forms. svn path=/import/netsurf/; revision=86
Diffstat (limited to 'desktop')
-rw-r--r--desktop/browser.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index be8cd1e0e..8edf77e9f 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -1,5 +1,5 @@
/**
- * $Id: browser.c,v 1.19 2002/12/30 22:56:30 monkeyson Exp $
+ * $Id: browser.c,v 1.20 2003/01/06 23:53:39 bursa Exp $
*/
#include "netsurf/riscos/font.h"
@@ -11,6 +11,7 @@
#include "netsurf/desktop/cache.h"
#include "netsurf/utils/log.h"
#include "libxml/uri.h"
+#include "libxml/debugXML.h"
#include <string.h>
#include <stdlib.h>
#include <assert.h>
@@ -127,6 +128,7 @@ void content_html_reformat(struct content* c, int width)
LOG(("Setting document to myDoc"));
c->data.html.document = c->data.html.parser->myDoc;
+ xmlDebugDumpDocument(stderr, c->data.html.parser->myDoc);
/* skip to start of html */
LOG(("Skipping to html"));
@@ -174,8 +176,10 @@ void content_html_reformat(struct content* c, int width)
LOG(("XML to box"));
xml_to_box(c->data.html.markup, c->data.html.style, c->data.html.stylesheet, &selector, 0, c->data.html.layout, 0, 0, c->data.html.fonts, 0, 0, 0, 0, &c->data.html.elements);
+ box_dump(c->data.html.layout->children, 0);
LOG(("Layout document"));
layout_document(c->data.html.layout->children, (unsigned long)width);
+ box_dump(c->data.html.layout->children, 0);
/* can tidy up memory here? */