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 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1556 { | 1556 { |
1557 ASSERT(document().inStyleRecalc()); | 1557 ASSERT(document().inStyleRecalc()); |
1558 | 1558 |
1559 // We've already been through detach when doing an attach, but we might | 1559 // We've already been through detach when doing an attach, but we might |
1560 // need to clear any state that's been added since then. | 1560 // need to clear any state that's been added since then. |
1561 if (hasRareData() && styleChangeType() == NeedsReattachStyleChange) { | 1561 if (hasRareData() && styleChangeType() == NeedsReattachStyleChange) { |
1562 ElementRareData* data = elementRareData(); | 1562 ElementRareData* data = elementRareData(); |
1563 data->clearComputedStyle(); | 1563 data->clearComputedStyle(); |
1564 } | 1564 } |
1565 | 1565 |
1566 if (!isActiveInsertionPoint(*this)) | 1566 if (!isSlotOrActiveInsertionPoint()) |
1567 LayoutTreeBuilderForElement(*this, context.resolvedStyle).createLayoutOb
jectIfNeeded(); | 1567 LayoutTreeBuilderForElement(*this, context.resolvedStyle).createLayoutOb
jectIfNeeded(); |
1568 | 1568 |
1569 addCallbackSelectors(); | 1569 addCallbackSelectors(); |
1570 | 1570 |
1571 if (hasRareData() && !layoutObject()) { | 1571 if (hasRareData() && !layoutObject()) { |
1572 if (ElementAnimations* elementAnimations = elementRareData()->elementAni
mations()) { | 1572 if (ElementAnimations* elementAnimations = elementRareData()->elementAni
mations()) { |
1573 elementAnimations->cssAnimations().cancel(); | 1573 elementAnimations->cssAnimations().cancel(); |
1574 elementAnimations->setAnimationStyleChange(false); | 1574 elementAnimations->setAnimationStyleChange(false); |
1575 } | 1575 } |
1576 } | 1576 } |
(...skipping 2067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3644 { | 3644 { |
3645 #if ENABLE(OILPAN) | 3645 #if ENABLE(OILPAN) |
3646 if (hasRareData()) | 3646 if (hasRareData()) |
3647 visitor->trace(elementRareData()); | 3647 visitor->trace(elementRareData()); |
3648 visitor->trace(m_elementData); | 3648 visitor->trace(m_elementData); |
3649 #endif | 3649 #endif |
3650 ContainerNode::trace(visitor); | 3650 ContainerNode::trace(visitor); |
3651 } | 3651 } |
3652 | 3652 |
3653 } // namespace blink | 3653 } // namespace blink |
OLD | NEW |