aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-30 09:59:31 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-30 09:59:31 +0100
commit1246f4c63b6aa97f6d86ed8cbd4b5447532b62c9 (patch)
tree714bc9feea66ad608de14eb42a6668b2c02489df /src/css.hh
parentff3cb33f38abcf4cd15c22c0e3a32659cd723d39 (diff)
CssContext::addRule(): only add rules with nonempty property list
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/css.hh b/src/css.hh
index 18a6016f..e899816c 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -339,7 +339,8 @@ class CssContext {
CssContext ();
~CssContext ();
- void addRule (CssRule *rule, CssPrimaryOrder order);
+ void addRule (CssSelector *sel, CssPropertyList *props,
+ CssPrimaryOrder order);
void apply (CssPropertyList *props,
Doctree *docTree,
CssPropertyList *tagStyle, CssPropertyList *nonCssHints);