From 8ef8b2eede01ecec243071342e751dc1147f750b Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 2 Feb 2009 07:40:23 +0100 Subject: remove unused order_count parameter It seems that in dillo-0.8.0-css-3 it was used to make sure that later definitions of the same CSS property have more weight than previous ones. If for example a first stylesheet sets background-color to black, and a second stylesheet sets it to green, green should win. But as we currently parese everything in order (throughing away all parsed CSS data when a new CSS stylesheet has arrived), we don't need to remember the original ordering of stylesheets. --- src/cssparser.hh | 1 - 1 file changed, 1 deletion(-) (limited to 'src/cssparser.hh') diff --git a/src/cssparser.hh b/src/cssparser.hh index fa2447eb..f88a780e 100644 --- a/src/cssparser.hh +++ b/src/cssparser.hh @@ -51,7 +51,6 @@ typedef struct { void a_Css_parse (CssContext *context, const char *buf, int buflen, - int order_count, CssOrigin origin); CssPropertyList *a_Css_parse_declaration(const char *buf, int buflen); -- cgit v1.2.3