| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 case CSSSelector::PseudoEmpty: | 285 case CSSSelector::PseudoEmpty: |
| 286 case CSSSelector::PseudoLink: | 286 case CSSSelector::PseudoLink: |
| 287 case CSSSelector::PseudoVisited: | 287 case CSSSelector::PseudoVisited: |
| 288 case CSSSelector::PseudoAnyLink: | 288 case CSSSelector::PseudoAnyLink: |
| 289 case CSSSelector::PseudoAutofill: | 289 case CSSSelector::PseudoAutofill: |
| 290 case CSSSelector::PseudoHover: | 290 case CSSSelector::PseudoHover: |
| 291 case CSSSelector::PseudoFocus: | 291 case CSSSelector::PseudoFocus: |
| 292 case CSSSelector::PseudoActive: | 292 case CSSSelector::PseudoActive: |
| 293 case CSSSelector::PseudoChecked: | 293 case CSSSelector::PseudoChecked: |
| 294 case CSSSelector::PseudoEnabled: | 294 case CSSSelector::PseudoEnabled: |
| 295 // TODO(rune@opera.com): crbug.com/557683 :default is currently not upda
ted dynamically. |
| 296 // case CSSSelector::Default: |
| 295 case CSSSelector::PseudoDisabled: | 297 case CSSSelector::PseudoDisabled: |
| 296 case CSSSelector::PseudoOptional: | 298 case CSSSelector::PseudoOptional: |
| 297 case CSSSelector::PseudoPlaceholderShown: | 299 case CSSSelector::PseudoPlaceholderShown: |
| 298 case CSSSelector::PseudoRequired: | 300 case CSSSelector::PseudoRequired: |
| 299 case CSSSelector::PseudoValid: | 301 case CSSSelector::PseudoValid: |
| 300 case CSSSelector::PseudoInvalid: | 302 case CSSSelector::PseudoInvalid: |
| 301 case CSSSelector::PseudoIndeterminate: | 303 case CSSSelector::PseudoIndeterminate: |
| 302 case CSSSelector::PseudoTarget: | 304 case CSSSelector::PseudoTarget: |
| 305 case CSSSelector::PseudoUnresolved: |
| 303 return &ensurePseudoInvalidationSet(selector.pseudoType(), type); | 306 return &ensurePseudoInvalidationSet(selector.pseudoType(), type); |
| 304 default: | 307 default: |
| 305 break; | 308 break; |
| 306 } | 309 } |
| 307 } | 310 } |
| 308 return nullptr; | 311 return nullptr; |
| 309 } | 312 } |
| 310 | 313 |
| 311 // Given a rule, update the descendant invalidation sets for the features found | 314 // Given a rule, update the descendant invalidation sets for the features found |
| 312 // in its selector. The first step is to extract the features from the rightmost | 315 // in its selector. The first step is to extract the features from the rightmost |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 | 659 |
| 657 DEFINE_TRACE(RuleFeatureSet) | 660 DEFINE_TRACE(RuleFeatureSet) |
| 658 { | 661 { |
| 659 #if ENABLE(OILPAN) | 662 #if ENABLE(OILPAN) |
| 660 visitor->trace(siblingRules); | 663 visitor->trace(siblingRules); |
| 661 visitor->trace(uncommonAttributeRules); | 664 visitor->trace(uncommonAttributeRules); |
| 662 #endif | 665 #endif |
| 663 } | 666 } |
| 664 | 667 |
| 665 } // namespace blink | 668 } // namespace blink |
| OLD | NEW |