diff options
author | James Bursa <james@netsurf-browser.org> | 2003-06-30 12:44:03 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-06-30 12:44:03 +0000 |
commit | 017fc4eb4b9f322ba36427ecb34853b93a41e62a (patch) | |
tree | 513a2a6c4e2b03c4b164bdb5007621c8f1ec2314 /render/html.c | |
parent | 4252b3f4c5e6f5d439329f1c8b75fe0528e0693f (diff) | |
download | netsurf-017fc4eb4b9f322ba36427ecb34853b93a41e62a.tar.gz netsurf-017fc4eb4b9f322ba36427ecb34853b93a41e62a.tar.bz2 |
[project @ 2003-06-30 12:44:02 by bursa]
New file headers.
svn path=/import/netsurf/; revision=190
Diffstat (limited to 'render/html.c')
-rw-r--r-- | render/html.c | 10 |
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); |