summaryrefslogtreecommitdiff
path: root/src/cssparser.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-02-02 07:40:23 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-02-02 07:40:23 +0100
commit8ef8b2eede01ecec243071342e751dc1147f750b (patch)
tree36c3befd61014bd4a07575a2ffaef0b0f39664cf /src/cssparser.hh
parent13082c04fe0d2f167b6888108b3672e94a2fb3ea (diff)
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.
Diffstat (limited to 'src/cssparser.hh')
-rw-r--r--src/cssparser.hh1
1 files changed, 0 insertions, 1 deletions
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);