diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-30 20:29:56 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-30 20:29:56 +0100 |
commit | a59deba5ca4253f5ad7fe0d01988742c657afd76 (patch) | |
tree | 3593c071b9729597e91aa8c75f8dd39b9fa28375 /src/css.hh | |
parent | 827b17481f131da837c770ea006302f0283c662e (diff) |
add CssSelector::specificity()
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -223,6 +223,7 @@ class CssSimpleSelector { CssSimpleSelector (); ~CssSimpleSelector (); bool match (const DoctreeNode *node); + int specificity (); void print (); }; @@ -257,6 +258,7 @@ class CssSelector { }; inline int size () { return selectorList->size (); }; bool match (Doctree *dt, const DoctreeNode *node); + int specificity (); void print (); inline void ref () { refCount++; } inline void unref () { if(--refCount == 0) delete this; } |