diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-02 07:40:23 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-02 07:40:23 +0100 |
commit | 8ef8b2eede01ecec243071342e751dc1147f750b (patch) | |
tree | 36c3befd61014bd4a07575a2ffaef0b0f39664cf /src/styleengine.cc | |
parent | 13082c04fe0d2f167b6888108b3672e94a2fb3ea (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.cc')
-rw-r--r-- | src/styleengine.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index dca78510..b48b6e2e 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -451,8 +451,7 @@ Style * StyleEngine::wordStyle0 (CssPropertyList *nonCssProperties) { return stack->getRef (stack->size () - 1)->wordStyle; } -void StyleEngine::parse (const char *buf, int buflen, - int order_count, CssOrigin origin) { +void StyleEngine::parse (const char *buf, int buflen, CssOrigin origin) { - a_Css_parse (cssContext, buf, buflen, order_count, origin); + a_Css_parse (cssContext, buf, buflen, origin); } |