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 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1675 if (ElementAnimations* elementAnimations = this->elementAnimations()) { | 1675 if (ElementAnimations* elementAnimations = this->elementAnimations()) { |
1676 elementAnimations->cssAnimations().maybeApplyPendingUpdate(this); | 1676 elementAnimations->cssAnimations().maybeApplyPendingUpdate(this); |
1677 elementAnimations->updateAnimationFlags(*style); | 1677 elementAnimations->updateAnimationFlags(*style); |
1678 } | 1678 } |
1679 | 1679 |
1680 if (style->hasTransform()) { | 1680 if (style->hasTransform()) { |
1681 if (const StylePropertySet* inlineStyle = this->inlineStyle()) | 1681 if (const StylePropertySet* inlineStyle = this->inlineStyle()) |
1682 style->setHasInlineTransform(inlineStyle->hasProperty(CSSPropertyTra
nsform)); | 1682 style->setHasInlineTransform(inlineStyle->hasProperty(CSSPropertyTra
nsform)); |
1683 } | 1683 } |
1684 | 1684 |
| 1685 style->updateIsStackingContext(this == document().documentElement(), isInTop
Layer()); |
| 1686 |
1685 return style.release(); | 1687 return style.release(); |
1686 } | 1688 } |
1687 | 1689 |
1688 PassRefPtr<ComputedStyle> Element::originalStyleForLayoutObject() | 1690 PassRefPtr<ComputedStyle> Element::originalStyleForLayoutObject() |
1689 { | 1691 { |
1690 DCHECK(document().inStyleRecalc()); | 1692 DCHECK(document().inStyleRecalc()); |
1691 return document().ensureStyleResolver().styleForElement(this); | 1693 return document().ensureStyleResolver().styleForElement(this); |
1692 } | 1694 } |
1693 | 1695 |
1694 void Element::recalcStyle(StyleRecalcChange change, Text* nextTextSibling) | 1696 void Element::recalcStyle(StyleRecalcChange change, Text* nextTextSibling) |
(...skipping 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3728 | 3730 |
3729 DEFINE_TRACE_WRAPPERS(Element) | 3731 DEFINE_TRACE_WRAPPERS(Element) |
3730 { | 3732 { |
3731 if (hasRareData()) { | 3733 if (hasRareData()) { |
3732 visitor->traceWrappers(elementRareData()); | 3734 visitor->traceWrappers(elementRareData()); |
3733 } | 3735 } |
3734 ContainerNode::traceWrappers(visitor); | 3736 ContainerNode::traceWrappers(visitor); |
3735 } | 3737 } |
3736 | 3738 |
3737 } // namespace blink | 3739 } // namespace blink |
OLD | NEW |