From fd7078b1ad470c3de96d32c3699eb862259df990 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 28 Sep 2003 17:37:43 +0000 Subject: [project @ 2003-09-28 17:37:43 by bursa] Implement CSS specificity and fix bugs. svn path=/import/netsurf/; revision=329 --- css/css.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'css/css.h') 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, -- cgit v1.2.3