OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1863 inheritHtmlAndBodyElementStyles(change); | 1863 inheritHtmlAndBodyElementStyles(change); |
1864 dirtyElementsForLayerUpdate(); | 1864 dirtyElementsForLayerUpdate(); |
1865 if (documentElement->shouldCallRecalcStyle(change)) | 1865 if (documentElement->shouldCallRecalcStyle(change)) |
1866 documentElement->recalcStyle(change); | 1866 documentElement->recalcStyle(change); |
1867 while (dirtyElementsForLayerUpdate()) | 1867 while (dirtyElementsForLayerUpdate()) |
1868 documentElement->recalcStyle(NoChange); | 1868 documentElement->recalcStyle(NoChange); |
1869 } | 1869 } |
1870 | 1870 |
1871 ensureStyleResolver().printStats(); | 1871 ensureStyleResolver().printStats(); |
1872 | 1872 |
1873 view()->recalcOverflowAfterStyleChange(); | |
1874 view()->updateCompositingLayersAfterStyleChange(); | 1873 view()->updateCompositingLayersAfterStyleChange(); |
1875 | 1874 |
1876 clearChildNeedsStyleRecalc(); | 1875 clearChildNeedsStyleRecalc(); |
1877 | 1876 |
1878 if (m_styleEngine->hasResolver()) { | 1877 if (m_styleEngine->hasResolver()) { |
1879 // Pseudo element removal and similar may only work with these flags sti
ll set. Reset them after the style recalc. | 1878 // Pseudo element removal and similar may only work with these flags sti
ll set. Reset them after the style recalc. |
1880 StyleResolver& resolver = m_styleEngine->ensureResolver(); | 1879 StyleResolver& resolver = m_styleEngine->ensureResolver(); |
1881 m_styleEngine->resetCSSFeatureFlags(resolver.ensureUpdatedRuleFeatureSet
()); | 1880 m_styleEngine->resetCSSFeatureFlags(resolver.ensureUpdatedRuleFeatureSet
()); |
1882 resolver.clearStyleSharingList(); | 1881 resolver.clearStyleSharingList(); |
1883 } | 1882 } |
(...skipping 3718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5602 (*it)->invalidateCache(attrName); | 5601 (*it)->invalidateCache(attrName); |
5603 } | 5602 } |
5604 | 5603 |
5605 void Document::trace(Visitor* visitor) | 5604 void Document::trace(Visitor* visitor) |
5606 { | 5605 { |
5607 Supplementable<Document>::trace(visitor); | 5606 Supplementable<Document>::trace(visitor); |
5608 ContainerNode::trace(visitor); | 5607 ContainerNode::trace(visitor); |
5609 } | 5608 } |
5610 | 5609 |
5611 } // namespace WebCore | 5610 } // namespace WebCore |
OLD | NEW |