aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/css.hh b/src/css.hh
index 87f8f902..0b8018af 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -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; }