From 2253e38be8cbcf4243e43fc0d317cfda08bffeb2 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 5 Apr 2003 21:38:06 +0000 Subject: [project @ 2003-04-05 21:38:06 by bursa] External stylesheets. svn path=/import/netsurf/; revision=115 --- content/content.c | 4 ++-- content/content.h | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'content') diff --git a/content/content.c b/content/content.c index 5812b9e5f..be528d787 100644 --- a/content/content.c +++ b/content/content.c @@ -1,5 +1,5 @@ /** - * $Id: content.c,v 1.4 2003/04/04 15:19:31 bursa Exp $ + * $Id: content.c,v 1.5 2003/04/05 21:38:06 bursa Exp $ */ #include @@ -41,7 +41,7 @@ static const struct handler_entry handler_map[] = { {textplain_create, textplain_process_data, textplain_convert, textplain_revive, textplain_reformat, textplain_destroy}, {jpeg_create, jpeg_process_data, jpeg_convert, jpeg_revive, jpeg_reformat, jpeg_destroy}, - {css_create, css_process_data, css_convert, css_revive, css_destroy}, + {css_create, css_process_data, css_convert, css_revive, css_reformat, css_destroy}, /* {png_create, png_process_data, png_convert, png_revive, png_destroy},*/ }; diff --git a/content/content.h b/content/content.h index 06210b790..b0711488d 100644 --- a/content/content.h +++ b/content/content.h @@ -1,5 +1,5 @@ /** - * $Id: content.h,v 1.3 2003/04/04 15:19:31 bursa Exp $ + * $Id: content.h,v 1.4 2003/04/05 21:38:06 bursa Exp $ */ #ifndef _NETSURF_DESKTOP_CONTENT_H_ @@ -54,6 +54,9 @@ struct content xmlDoc* document; xmlNode* markup; struct box* layout; + unsigned int stylesheet_count; + char **stylesheet_url; + struct content **stylesheet_content; struct css_stylesheet* stylesheet; struct css_style* style; struct { -- cgit v1.2.3