| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 | 302 |
| 303 Document& m_document; | 303 Document& m_document; |
| 304 SelectorFilter m_selectorFilter; | 304 SelectorFilter m_selectorFilter; |
| 305 | 305 |
| 306 RefPtr<ViewportStyleResolver> m_viewportStyleResolver; | 306 RefPtr<ViewportStyleResolver> m_viewportStyleResolver; |
| 307 | 307 |
| 308 ListHashSet<CSSStyleSheet*, 16> m_pendingStyleSheets; | 308 ListHashSet<CSSStyleSheet*, 16> m_pendingStyleSheets; |
| 309 | 309 |
| 310 ScopedStyleTree m_styleTree; | 310 ScopedStyleTree m_styleTree; |
| 311 | 311 |
| 312 // FIXME: The entire logic of collecting features on StyleResolver, as well
astransferring them | 312 // FIXME: The entire logic of collecting features on StyleResolver, as well
as transferring them |
| 313 // between various parts of machinery smells wrong. This needs to be better
somehow. | 313 // between various parts of machinery smells wrong. This needs to be better
somehow. |
| 314 RuleFeatureSet m_features; | 314 RuleFeatureSet m_features; |
| 315 OwnPtr<RuleSet> m_siblingRuleSet; | 315 OwnPtr<RuleSet> m_siblingRuleSet; |
| 316 OwnPtr<RuleSet> m_uncommonAttributeRuleSet; | 316 OwnPtr<RuleSet> m_uncommonAttributeRuleSet; |
| 317 | 317 |
| 318 // FIXME: watched selectors should be implemented using injected author styl
esheets: http://crbug.com/316960 | 318 // FIXME: watched selectors should be implemented using injected author styl
esheets: http://crbug.com/316960 |
| 319 OwnPtr<RuleSet> m_watchedSelectorsRules; | 319 OwnPtr<RuleSet> m_watchedSelectorsRules; |
| 320 TreeBoundaryCrossingRules m_treeBoundaryCrossingRules; | 320 TreeBoundaryCrossingRules m_treeBoundaryCrossingRules; |
| 321 | 321 |
| 322 bool m_needCollectFeatures; | 322 bool m_needCollectFeatures; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 342 SelectorChecker::SelectorCheckingContext selectorCheckingContext(s, regi
onElement, SelectorChecker::VisitedMatchDisabled); | 342 SelectorChecker::SelectorCheckingContext selectorCheckingContext(s, regi
onElement, SelectorChecker::VisitedMatchDisabled); |
| 343 if (selectorChecker.match(selectorCheckingContext, DOMSiblingTraversalSt
rategy()) == SelectorChecker::SelectorMatches) | 343 if (selectorChecker.match(selectorCheckingContext, DOMSiblingTraversalSt
rategy()) == SelectorChecker::SelectorMatches) |
| 344 return true; | 344 return true; |
| 345 } | 345 } |
| 346 return false; | 346 return false; |
| 347 } | 347 } |
| 348 | 348 |
| 349 } // namespace WebCore | 349 } // namespace WebCore |
| 350 | 350 |
| 351 #endif // StyleResolver_h | 351 #endif // StyleResolver_h |
| OLD | NEW |