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 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1667 if (ElementAnimations* elementAnimations = this->elementAnimations()) { | 1667 if (ElementAnimations* elementAnimations = this->elementAnimations()) { |
1668 elementAnimations->cssAnimations().maybeApplyPendingUpdate(this); | 1668 elementAnimations->cssAnimations().maybeApplyPendingUpdate(this); |
1669 elementAnimations->updateAnimationFlags(*style); | 1669 elementAnimations->updateAnimationFlags(*style); |
1670 } | 1670 } |
1671 | 1671 |
1672 if (style->hasTransform()) { | 1672 if (style->hasTransform()) { |
1673 if (const StylePropertySet* inlineStyle = this->inlineStyle()) | 1673 if (const StylePropertySet* inlineStyle = this->inlineStyle()) |
1674 style->setHasInlineTransform(inlineStyle->hasProperty(CSSPropertyTra
nsform)); | 1674 style->setHasInlineTransform(inlineStyle->hasProperty(CSSPropertyTra
nsform)); |
1675 } | 1675 } |
1676 | 1676 |
| 1677 style->updateIsStackingContext(this == document().documentElement(), isInTop
Layer()); |
| 1678 |
1677 return style.release(); | 1679 return style.release(); |
1678 } | 1680 } |
1679 | 1681 |
1680 PassRefPtr<ComputedStyle> Element::originalStyleForLayoutObject() | 1682 PassRefPtr<ComputedStyle> Element::originalStyleForLayoutObject() |
1681 { | 1683 { |
1682 DCHECK(document().inStyleRecalc()); | 1684 DCHECK(document().inStyleRecalc()); |
1683 return document().ensureStyleResolver().styleForElement(this); | 1685 return document().ensureStyleResolver().styleForElement(this); |
1684 } | 1686 } |
1685 | 1687 |
1686 void Element::recalcStyle(StyleRecalcChange change, Text* nextTextSibling) | 1688 void Element::recalcStyle(StyleRecalcChange change, Text* nextTextSibling) |
(...skipping 2030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3717 | 3719 |
3718 DEFINE_TRACE_WRAPPERS(Element) | 3720 DEFINE_TRACE_WRAPPERS(Element) |
3719 { | 3721 { |
3720 if (hasRareData()) { | 3722 if (hasRareData()) { |
3721 visitor->traceWrappers(elementRareData()); | 3723 visitor->traceWrappers(elementRareData()); |
3722 } | 3724 } |
3723 ContainerNode::traceWrappers(visitor); | 3725 ContainerNode::traceWrappers(visitor); |
3724 } | 3726 } |
3725 | 3727 |
3726 } // namespace blink | 3728 } // namespace blink |
OLD | NEW |