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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 return &ensureClassInvalidationSet(selector.value()); | 244 return &ensureClassInvalidationSet(selector.value()); |
245 if (selector.isAttributeSelector()) | 245 if (selector.isAttributeSelector()) |
246 return &ensureAttributeInvalidationSet(selector.attribute().localName())
; | 246 return &ensureAttributeInvalidationSet(selector.attribute().localName())
; |
247 if (selector.match() == CSSSelector::Id) | 247 if (selector.match() == CSSSelector::Id) |
248 return &ensureIdInvalidationSet(selector.value()); | 248 return &ensureIdInvalidationSet(selector.value()); |
249 if (selector.match() == CSSSelector::PseudoClass) { | 249 if (selector.match() == CSSSelector::PseudoClass) { |
250 switch (selector.pseudoType()) { | 250 switch (selector.pseudoType()) { |
251 case CSSSelector::PseudoEmpty: | 251 case CSSSelector::PseudoEmpty: |
252 case CSSSelector::PseudoLink: | 252 case CSSSelector::PseudoLink: |
253 case CSSSelector::PseudoVisited: | 253 case CSSSelector::PseudoVisited: |
| 254 case CSSSelector::PseudoAnyLink: |
254 case CSSSelector::PseudoAutofill: | 255 case CSSSelector::PseudoAutofill: |
255 case CSSSelector::PseudoHover: | 256 case CSSSelector::PseudoHover: |
256 case CSSSelector::PseudoFocus: | 257 case CSSSelector::PseudoFocus: |
257 case CSSSelector::PseudoActive: | 258 case CSSSelector::PseudoActive: |
258 case CSSSelector::PseudoChecked: | 259 case CSSSelector::PseudoChecked: |
259 case CSSSelector::PseudoEnabled: | 260 case CSSSelector::PseudoEnabled: |
260 case CSSSelector::PseudoDisabled: | 261 case CSSSelector::PseudoDisabled: |
261 case CSSSelector::PseudoOptional: | 262 case CSSSelector::PseudoOptional: |
262 case CSSSelector::PseudoRequired: | 263 case CSSSelector::PseudoRequired: |
263 case CSSSelector::PseudoValid: | 264 case CSSSelector::PseudoValid: |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 visitor->trace(uncommonAttributeRules); | 645 visitor->trace(uncommonAttributeRules); |
645 visitor->trace(m_classInvalidationSets); | 646 visitor->trace(m_classInvalidationSets); |
646 visitor->trace(m_attributeInvalidationSets); | 647 visitor->trace(m_attributeInvalidationSets); |
647 visitor->trace(m_idInvalidationSets); | 648 visitor->trace(m_idInvalidationSets); |
648 visitor->trace(m_pseudoInvalidationSets); | 649 visitor->trace(m_pseudoInvalidationSets); |
649 visitor->trace(m_styleInvalidator); | 650 visitor->trace(m_styleInvalidator); |
650 #endif | 651 #endif |
651 } | 652 } |
652 | 653 |
653 } // namespace blink | 654 } // namespace blink |
OLD | NEW |