summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html.c')
-rw-r--r--render/html.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/render/html.c b/render/html.c
index 1517e89a5..c9932f6a4 100644
--- a/render/html.c
+++ b/render/html.c
@@ -1,5 +1,8 @@
-/**
- * $Id: html.c,v 1.20 2003/06/26 11:41:26 bursa Exp $
+/*
+ * This file is part of NetSurf, http://netsurf.sourceforge.net/
+ * Licensed under the GNU General Public License,
+ * http://www.opensource.org/licenses/gpl-license
+ * Copyright 2003 James Bursa <bursa@users.sourceforge.net>
*/
#include <assert.h>
@@ -260,6 +263,9 @@ void html_find_stylesheets(struct content *c, xmlNode *head)
if (!(href = (char *) xmlGetProp(node, (const xmlChar *) "href")))
continue;
+ /* TODO: only the first preferred stylesheets (ie. those with a
+ * title attribute) should be loaded (see HTML4 14.3) */
+
url = url_join(href, c->url);
LOG(("linked stylesheet %i '%s'", i, url));
xmlFree(href);