| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 * | 19 * |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef StyleResolver_h | 22 #ifndef StyleResolver_h |
| 23 #define StyleResolver_h | 23 #define StyleResolver_h |
| 24 | 24 |
| 25 #include "CSSRuleList.h" | 25 #include "CSSRuleList.h" |
| 26 #include "CSSToStyleMap.h" | 26 #include "CSSToStyleMap.h" |
| 27 #include "CSSValueList.h" | 27 #include "CSSValueList.h" |
| 28 #include "DocumentRuleSets.h" | 28 #include "DocumentRuleSets.h" |
| 29 #include "InspectorCSSOMWrappers.h" | 29 #include "InspectorCSSOMWrappers.h" |
| 30 #include "LinkHash.h" | |
| 31 #include "MediaQueryExp.h" | 30 #include "MediaQueryExp.h" |
| 32 #include "RenderStyle.h" | 31 #include "RenderStyle.h" |
| 33 #include "RuleFeature.h" | 32 #include "RuleFeature.h" |
| 34 #include "RuleSet.h" | 33 #include "RuleSet.h" |
| 35 #include "RuntimeEnabledFeatures.h" | 34 #include "RuntimeEnabledFeatures.h" |
| 36 #include "ScopedStyleResolver.h" | 35 #include "ScopedStyleResolver.h" |
| 37 #include "ScrollTypes.h" | |
| 38 #include "SelectorChecker.h" | 36 #include "SelectorChecker.h" |
| 39 #include "SelectorFilter.h" | 37 #include "SelectorFilter.h" |
| 40 #include "SiblingTraversalStrategies.h" | 38 #include "SiblingTraversalStrategies.h" |
| 41 #include "StyleInheritedData.h" | 39 #include "StyleInheritedData.h" |
| 42 #include "ViewportStyleResolver.h" | 40 #include "ViewportStyleResolver.h" |
| 41 #include "core/platform/LinkHash.h" |
| 42 #include "core/platform/ScrollTypes.h" |
| 43 #if ENABLE(SVG) | 43 #if ENABLE(SVG) |
| 44 #include "WebKitCSSSVGDocumentValue.h" | 44 #include "WebKitCSSSVGDocumentValue.h" |
| 45 #endif | 45 #endif |
| 46 #include "core/platform/graphics/filters/custom/CustomFilterConstants.h" | 46 #include "core/platform/graphics/filters/custom/CustomFilterConstants.h" |
| 47 #include <wtf/HashMap.h> | 47 #include <wtf/HashMap.h> |
| 48 #include <wtf/HashSet.h> | 48 #include <wtf/HashSet.h> |
| 49 #include <wtf/RefPtr.h> | 49 #include <wtf/RefPtr.h> |
| 50 #include <wtf/text/AtomicStringHash.h> | 50 #include <wtf/text/AtomicStringHash.h> |
| 51 #include <wtf/text/StringHash.h> | 51 #include <wtf/text/StringHash.h> |
| 52 #include <wtf/Vector.h> | 52 #include <wtf/Vector.h> |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 PseudoId ignoreDynamicPseudo = NOPSEUDO; | 645 PseudoId ignoreDynamicPseudo = NOPSEUDO; |
| 646 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) | 646 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) |
| 647 return true; | 647 return true; |
| 648 } | 648 } |
| 649 return false; | 649 return false; |
| 650 } | 650 } |
| 651 | 651 |
| 652 } // namespace WebCore | 652 } // namespace WebCore |
| 653 | 653 |
| 654 #endif // StyleResolver_h | 654 #endif // StyleResolver_h |
| OLD | NEW |