OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All |
6 * rights reserved. | 6 * rights reserved. |
7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
10 * (http://www.torchmobile.com/) | 10 * (http://www.torchmobile.com/) |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 case CSSSelector::PseudoReadWrite: | 109 case CSSSelector::PseudoReadWrite: |
110 case CSSSelector::PseudoValid: | 110 case CSSSelector::PseudoValid: |
111 case CSSSelector::PseudoInvalid: | 111 case CSSSelector::PseudoInvalid: |
112 case CSSSelector::PseudoIndeterminate: | 112 case CSSSelector::PseudoIndeterminate: |
113 case CSSSelector::PseudoTarget: | 113 case CSSSelector::PseudoTarget: |
114 case CSSSelector::PseudoBefore: | 114 case CSSSelector::PseudoBefore: |
115 case CSSSelector::PseudoAfter: | 115 case CSSSelector::PseudoAfter: |
116 case CSSSelector::PseudoBackdrop: | 116 case CSSSelector::PseudoBackdrop: |
117 case CSSSelector::PseudoLang: | 117 case CSSSelector::PseudoLang: |
118 case CSSSelector::PseudoNot: | 118 case CSSSelector::PseudoNot: |
| 119 case CSSSelector::PseudoPlaceholder: |
119 case CSSSelector::PseudoResizer: | 120 case CSSSelector::PseudoResizer: |
120 case CSSSelector::PseudoRoot: | 121 case CSSSelector::PseudoRoot: |
121 case CSSSelector::PseudoScope: | 122 case CSSSelector::PseudoScope: |
122 case CSSSelector::PseudoScrollbar: | 123 case CSSSelector::PseudoScrollbar: |
123 case CSSSelector::PseudoScrollbarButton: | 124 case CSSSelector::PseudoScrollbarButton: |
124 case CSSSelector::PseudoScrollbarCorner: | 125 case CSSSelector::PseudoScrollbarCorner: |
125 case CSSSelector::PseudoScrollbarThumb: | 126 case CSSSelector::PseudoScrollbarThumb: |
126 case CSSSelector::PseudoScrollbarTrack: | 127 case CSSSelector::PseudoScrollbarTrack: |
127 case CSSSelector::PseudoScrollbarTrackPiece: | 128 case CSSSelector::PseudoScrollbarTrackPiece: |
128 case CSSSelector::PseudoWindowInactive: | 129 case CSSSelector::PseudoWindowInactive: |
(...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 return !classes.isEmpty() || !attributes.isEmpty() || !ids.isEmpty() || | 1185 return !classes.isEmpty() || !attributes.isEmpty() || !ids.isEmpty() || |
1185 !tagNames.isEmpty() || customPseudoElement; | 1186 !tagNames.isEmpty() || customPseudoElement; |
1186 } | 1187 } |
1187 | 1188 |
1188 bool RuleFeatureSet::InvalidationSetFeatures::hasTagIdClassOrAttribute() const { | 1189 bool RuleFeatureSet::InvalidationSetFeatures::hasTagIdClassOrAttribute() const { |
1189 return !classes.isEmpty() || !attributes.isEmpty() || !ids.isEmpty() || | 1190 return !classes.isEmpty() || !attributes.isEmpty() || !ids.isEmpty() || |
1190 !tagNames.isEmpty(); | 1191 !tagNames.isEmpty(); |
1191 } | 1192 } |
1192 | 1193 |
1193 } // namespace blink | 1194 } // namespace blink |
OLD | NEW |