summaryrefslogtreecommitdiff
path: root/css/css.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-09-28 17:37:43 +0000
committerJames Bursa <james@netsurf-browser.org>2003-09-28 17:37:43 +0000
commitfd7078b1ad470c3de96d32c3699eb862259df990 (patch)
tree96d323b56e836932538eb5f3710045efa1b93874 /css/css.h
parentc48e0ce8dc0ac13b31c143be21b1ccc9a92d921d (diff)
downloadnetsurf-fd7078b1ad470c3de96d32c3699eb862259df990.tar.gz
netsurf-fd7078b1ad470c3de96d32c3699eb862259df990.tar.bz2
[project @ 2003-09-28 17:37:43 by bursa]
Implement CSS specificity and fix bugs. svn path=/import/netsurf/; revision=329
Diffstat (limited to 'css/css.h')
-rw-r--r--css/css.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/css/css.h b/css/css.h
index f09cf55a0..378dc5304 100644
--- a/css/css.h
+++ b/css/css.h
@@ -148,6 +148,7 @@ struct node {
struct node *next;
combinator comb;
struct css_style *style;
+ unsigned long specificity;
};
#include "netsurf/css/scanner.h"
@@ -186,6 +187,7 @@ void css_destroy(struct content *c);
struct node * css_new_node(node_type type, char *data,
struct node *left, struct node *right);
void css_free_node(struct node *node);
+char *css_unquote(char *s);
void css_atimport(struct content *c, struct node *node);
void css_add_ruleset(struct content *c,
struct node *selector,