| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 5145d3791c96c6e049e7de8c4b4c31350c7e9a3c..82c830bd65e1a3fd1c2e0e1c2cc85799f2dc91a0 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -1869,6 +1869,9 @@ PassRefPtr<ComputedStyle> Element::styleForLayoutObject() {
|
| if (ElementAnimations* elementAnimations = this->elementAnimations()) {
|
| elementAnimations->cssAnimations().maybeApplyPendingUpdate(this);
|
| elementAnimations->updateAnimationFlags(*style);
|
| + // if (style->hasCurrentTransformAnimation()) {
|
| + // style->setIsStackingContext(true);
|
| + // }
|
| }
|
|
|
| if (style->hasTransform()) {
|
| @@ -1877,9 +1880,6 @@ PassRefPtr<ComputedStyle> Element::styleForLayoutObject() {
|
| inlineStyle->hasProperty(CSSPropertyTransform));
|
| }
|
|
|
| - style->updateIsStackingContext(this == document().documentElement(),
|
| - isInTopLayer());
|
| -
|
| return style.release();
|
| }
|
|
|
|
|