diff options
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; } |