| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 void matchShadowDistributedRules(ElementRuleCollector&, bool includeEmptyRul
es); | 281 void matchShadowDistributedRules(ElementRuleCollector&, bool includeEmptyRul
es); |
| 282 void matchHostRules(Element*, ScopedStyleResolver*, ElementRuleCollector&, b
ool includeEmptyRules); | 282 void matchHostRules(Element*, ScopedStyleResolver*, ElementRuleCollector&, b
ool includeEmptyRules); |
| 283 void matchScopedAuthorRules(Element*, ElementRuleCollector&, bool includeEmp
tyRules); | 283 void matchScopedAuthorRules(Element*, ElementRuleCollector&, bool includeEmp
tyRules); |
| 284 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool matchAut
horAndUserStyles, bool includeSMILProperties); | 284 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool matchAut
horAndUserStyles, bool includeSMILProperties); |
| 285 void matchUARules(ElementRuleCollector&); | 285 void matchUARules(ElementRuleCollector&); |
| 286 void matchUserRules(ElementRuleCollector&, bool includeEmptyRules); | 286 void matchUserRules(ElementRuleCollector&, bool includeEmptyRules); |
| 287 void collectFeatures(); | 287 void collectFeatures(); |
| 288 | 288 |
| 289 bool fastRejectSelector(const RuleData&) const; | 289 bool fastRejectSelector(const RuleData&) const; |
| 290 | 290 |
| 291 void applyMatchedProperties(StyleResolverState&, const MatchResult&, const E
lement*); | 291 void applyMatchedProperties(StyleResolverState&, const MatchResult&); |
| 292 | 292 |
| 293 enum StyleApplicationPass { | 293 enum StyleApplicationPass { |
| 294 VariableDefinitions, | 294 VariableDefinitions, |
| 295 AnimationProperties, | 295 AnimationProperties, |
| 296 HighPriorityProperties, | 296 HighPriorityProperties, |
| 297 LowPriorityProperties | 297 LowPriorityProperties |
| 298 }; | 298 }; |
| 299 template <StyleResolver::StyleApplicationPass pass> | 299 template <StyleResolver::StyleApplicationPass pass> |
| 300 static inline bool isPropertyForPass(CSSPropertyID); | 300 static inline bool isPropertyForPass(CSSPropertyID); |
| 301 template <StyleApplicationPass pass> | 301 template <StyleApplicationPass pass> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 PseudoId ignoreDynamicPseudo = NOPSEUDO; | 371 PseudoId ignoreDynamicPseudo = NOPSEUDO; |
| 372 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) | 372 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) |
| 373 return true; | 373 return true; |
| 374 } | 374 } |
| 375 return false; | 375 return false; |
| 376 } | 376 } |
| 377 | 377 |
| 378 } // namespace WebCore | 378 } // namespace WebCore |
| 379 | 379 |
| 380 #endif // StyleResolver_h | 380 #endif // StyleResolver_h |
| OLD | NEW |