From 4421b2e633179bbd8f5331d2bdc33246aa2f40d9 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 4 Apr 2003 15:19:32 +0000 Subject: [project @ 2003-04-04 15:19:31 by bursa] New CSS parser. svn path=/import/netsurf/; revision=112 --- content/content.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index ecca5c2fd..5812b9e5f 100644 --- a/content/content.c +++ b/content/content.c @@ -1,11 +1,12 @@ /** - * $Id: content.c,v 1.3 2003/02/28 11:49:13 bursa Exp $ + * $Id: content.c,v 1.4 2003/04/04 15:19:31 bursa Exp $ */ #include #include #include #include "netsurf/content/content.h" +#include "netsurf/css/css.h" #include "netsurf/render/html.h" #include "netsurf/render/textplain.h" #include "netsurf/riscos/jpeg.h" @@ -19,8 +20,8 @@ struct mime_entry { }; static const struct mime_entry mime_map[] = { {"image/jpeg", CONTENT_JPEG}, -/* {"image/png", CONTENT_PNG}, - {"text/css", CONTENT_CSS},*/ +/* {"image/png", CONTENT_PNG},*/ + {"text/css", CONTENT_CSS}, {"text/html", CONTENT_HTML}, {"text/plain", CONTENT_TEXTPLAIN}, }; @@ -40,8 +41,8 @@ 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}, - {png_create, png_process_data, png_convert, png_revive, png_destroy},*/ + {css_create, css_process_data, css_convert, css_revive, css_destroy}, +/* {png_create, png_process_data, png_convert, png_revive, png_destroy},*/ }; -- cgit v1.2.3