| 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 r
ights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 case CSSSelector::PseudoReadWrite: | 103 case CSSSelector::PseudoReadWrite: |
| 104 case CSSSelector::PseudoValid: | 104 case CSSSelector::PseudoValid: |
| 105 case CSSSelector::PseudoInvalid: | 105 case CSSSelector::PseudoInvalid: |
| 106 case CSSSelector::PseudoIndeterminate: | 106 case CSSSelector::PseudoIndeterminate: |
| 107 case CSSSelector::PseudoTarget: | 107 case CSSSelector::PseudoTarget: |
| 108 case CSSSelector::PseudoBefore: | 108 case CSSSelector::PseudoBefore: |
| 109 case CSSSelector::PseudoAfter: | 109 case CSSSelector::PseudoAfter: |
| 110 case CSSSelector::PseudoBackdrop: | 110 case CSSSelector::PseudoBackdrop: |
| 111 case CSSSelector::PseudoLang: | 111 case CSSSelector::PseudoLang: |
| 112 case CSSSelector::PseudoNot: | 112 case CSSSelector::PseudoNot: |
| 113 case CSSSelector::PseudoResizer: |
| 113 case CSSSelector::PseudoRoot: | 114 case CSSSelector::PseudoRoot: |
| 114 case CSSSelector::PseudoScope: | 115 case CSSSelector::PseudoScope: |
| 115 case CSSSelector::PseudoScrollbar: | 116 case CSSSelector::PseudoScrollbar: |
| 116 case CSSSelector::PseudoScrollbarButton: | 117 case CSSSelector::PseudoScrollbarButton: |
| 117 case CSSSelector::PseudoScrollbarCorner: | 118 case CSSSelector::PseudoScrollbarCorner: |
| 118 case CSSSelector::PseudoScrollbarThumb: | 119 case CSSSelector::PseudoScrollbarThumb: |
| 119 case CSSSelector::PseudoScrollbarTrack: | 120 case CSSSelector::PseudoScrollbarTrack: |
| 120 case CSSSelector::PseudoScrollbarTrackPiece: | 121 case CSSSelector::PseudoScrollbarTrackPiece: |
| 121 case CSSSelector::PseudoWindowInactive: | 122 case CSSSelector::PseudoWindowInactive: |
| 122 case CSSSelector::PseudoSelection: | 123 case CSSSelector::PseudoSelection: |
| (...skipping 27 matching lines...) Expand all Loading... |
| 150 { | 151 { |
| 151 if (!selector.matchesPseudoElement() && selector.match() != CSSSelector::Pse
udoClass) { | 152 if (!selector.matchesPseudoElement() && selector.match() != CSSSelector::Pse
udoClass) { |
| 152 ASSERT(supportsInvalidation(selector.match())); | 153 ASSERT(supportsInvalidation(selector.match())); |
| 153 return false; | 154 return false; |
| 154 } | 155 } |
| 155 | 156 |
| 156 switch (selector.pseudoType()) { | 157 switch (selector.pseudoType()) { |
| 157 case CSSSelector::PseudoFirstLine: | 158 case CSSSelector::PseudoFirstLine: |
| 158 case CSSSelector::PseudoFirstLetter: | 159 case CSSSelector::PseudoFirstLetter: |
| 159 case CSSSelector::PseudoFullPageMedia: | 160 case CSSSelector::PseudoFullPageMedia: |
| 160 case CSSSelector::PseudoResizer: | |
| 161 case CSSSelector::PseudoCornerPresent: | 161 case CSSSelector::PseudoCornerPresent: |
| 162 case CSSSelector::PseudoDecrement: | 162 case CSSSelector::PseudoDecrement: |
| 163 case CSSSelector::PseudoIncrement: | 163 case CSSSelector::PseudoIncrement: |
| 164 case CSSSelector::PseudoHorizontal: | 164 case CSSSelector::PseudoHorizontal: |
| 165 case CSSSelector::PseudoVertical: | 165 case CSSSelector::PseudoVertical: |
| 166 case CSSSelector::PseudoStart: | 166 case CSSSelector::PseudoStart: |
| 167 case CSSSelector::PseudoEnd: | 167 case CSSSelector::PseudoEnd: |
| 168 case CSSSelector::PseudoDoubleButton: | 168 case CSSSelector::PseudoDoubleButton: |
| 169 case CSSSelector::PseudoSingleButton: | 169 case CSSSelector::PseudoSingleButton: |
| 170 case CSSSelector::PseudoNoButton: | 170 case CSSSelector::PseudoNoButton: |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 visitor->trace(uncommonAttributeRules); | 652 visitor->trace(uncommonAttributeRules); |
| 653 visitor->trace(m_classInvalidationSets); | 653 visitor->trace(m_classInvalidationSets); |
| 654 visitor->trace(m_attributeInvalidationSets); | 654 visitor->trace(m_attributeInvalidationSets); |
| 655 visitor->trace(m_idInvalidationSets); | 655 visitor->trace(m_idInvalidationSets); |
| 656 visitor->trace(m_pseudoInvalidationSets); | 656 visitor->trace(m_pseudoInvalidationSets); |
| 657 visitor->trace(m_styleInvalidator); | 657 visitor->trace(m_styleInvalidator); |
| 658 #endif | 658 #endif |
| 659 } | 659 } |
| 660 | 660 |
| 661 } // namespace blink | 661 } // namespace blink |
| OLD | NEW |