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 0b8018af..b299adab 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -271,6 +271,7 @@ class CssSelector {
class CssRule {
private:
CssPropertyList *props;
+ int spec;
public:
CssSelector *selector;
@@ -280,6 +281,7 @@ class CssRule {
void apply (CssPropertyList *props,
Doctree *docTree, const DoctreeNode *node);
+ inline int specificity () { return spec; };
void print ();
};