diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-30 09:59:31 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-30 09:59:31 +0100 |
commit | 1246f4c63b6aa97f6d86ed8cbd4b5447532b62c9 (patch) | |
tree | 714bc9feea66ad608de14eb42a6668b2c02489df /src/css.hh | |
parent | ff3cb33f38abcf4cd15c22c0e3a32659cd723d39 (diff) |
CssContext::addRule(): only add rules with nonempty property list
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |