diff options
Diffstat (limited to 'WebCore/css/CSSSelector.h')
-rw-r--r-- | WebCore/css/CSSSelector.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/css/CSSSelector.h b/WebCore/css/CSSSelector.h index 34e4af0..e253949 100644 --- a/WebCore/css/CSSSelector.h +++ b/WebCore/css/CSSSelector.h @@ -85,7 +85,7 @@ namespace WebCore { // tag == -1 means apply to all elements (Selector = *) - unsigned specificity(); + unsigned specificity() const; /* how the attribute value has to match.... Default is Exact */ enum Match { @@ -294,7 +294,8 @@ namespace WebCore { void releaseOwnedSelectorsToBag(CSSSelectorBag&); void deleteReachableSelectors(); - unsigned specificityForPage(); + unsigned specificityForOneSelector() const; + unsigned specificityForPage() const; void extractPseudoType() const; struct RareData : Noncopyable { |