Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: Source/core/css/CSSSelector.cpp

Issue 23597051: Use correct pseudo type for page selector specificity. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/printing/page-rule-specificity-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSSelector.cpp
diff --git a/Source/core/css/CSSSelector.cpp b/Source/core/css/CSSSelector.cpp
index 38743290e899acb5bfb68603d80a36a42d475e8f..e6341cb074633aebf2c0daa4c1d8d0d399478eb2 100644
--- a/Source/core/css/CSSSelector.cpp
+++ b/Source/core/css/CSSSelector.cpp
@@ -127,7 +127,7 @@ unsigned CSSSelector::specificityForPage() const
case Tag:
s += tagQName().localName() == starAtom ? 0 : 4;
break;
- case PseudoClass:
+ case PagePseudoClass:
switch (component->pseudoType()) {
case PseudoFirstPage:
s += 2;
« no previous file with comments | « LayoutTests/printing/page-rule-specificity-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698