aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.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/styleengine.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/styleengine.hh')
-rw-r--r--src/styleengine.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 9669ccf0..75f8fdd1 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -45,7 +45,7 @@ class StyleEngine : public Doctree {
return NULL;
};
- void parse (const char *buf, int buflen, int order_count, CssOrigin origin);
+ void parse (const char *buf, int buflen, CssOrigin origin);
void startElement (int tag);
void setId (const char *id);
void setClass (const char *klass);