| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 // FIXME(oilpan): We should create a visitable HashMap. | 410 // FIXME(oilpan): We should create a visitable HashMap. |
| 411 typedef HashMap<CSSPropertyID, Persistent<CSSValue> > PendingImagePropertyMa
p; | 411 typedef HashMap<CSSPropertyID, Persistent<CSSValue> > PendingImagePropertyMa
p; |
| 412 #if ENABLE(SVG) | 412 #if ENABLE(SVG) |
| 413 typedef HashMap<FilterOperation*, Persistent<WebKitCSSSVGDocumentValue> > Pe
ndingSVGDocumentMap; | 413 typedef HashMap<FilterOperation*, Persistent<WebKitCSSSVGDocumentValue> > Pe
ndingSVGDocumentMap; |
| 414 #endif | 414 #endif |
| 415 | 415 |
| 416 class State { | 416 class State { |
| 417 WTF_MAKE_NONCOPYABLE(State); | 417 WTF_MAKE_NONCOPYABLE(State); |
| 418 public: | 418 public: |
| 419 State() | 419 State() |
| 420 : m_element(0) | 420 : m_parentNode(0) |
| 421 , m_parentNode(0) | |
| 422 , m_parentStyle(0) | 421 , m_parentStyle(0) |
| 423 , m_rootElementStyle(0) | 422 , m_rootElementStyle(0) |
| 424 , m_regionForStyling(0) | 423 , m_regionForStyling(0) |
| 425 , m_elementLinkState(NotInsideLink) | 424 , m_elementLinkState(NotInsideLink) |
| 426 , m_distributedToInsertionPoint(false) | 425 , m_distributedToInsertionPoint(false) |
| 427 , m_elementAffectedByClassRules(false) | 426 , m_elementAffectedByClassRules(false) |
| 428 , m_applyPropertyToRegularStyle(true) | 427 , m_applyPropertyToRegularStyle(true) |
| 429 , m_applyPropertyToVisitedLinkStyle(false) | 428 , m_applyPropertyToVisitedLinkStyle(false) |
| 430 , m_hasPendingShaders(false) | 429 , m_hasPendingShaders(false) |
| 431 , m_lineHeightValue(nullptr) | 430 , m_lineHeightValue(nullptr) |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 PseudoId ignoreDynamicPseudo = NOPSEUDO; | 657 PseudoId ignoreDynamicPseudo = NOPSEUDO; |
| 659 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) | 658 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) |
| 660 return true; | 659 return true; |
| 661 } | 660 } |
| 662 return false; | 661 return false; |
| 663 } | 662 } |
| 664 | 663 |
| 665 } // namespace WebCore | 664 } // namespace WebCore |
| 666 | 665 |
| 667 #endif // StyleResolver_h | 666 #endif // StyleResolver_h |
| OLD | NEW |