| Index: Source/core/css/resolver/StyleAdjuster.cpp
|
| diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp
|
| index 309541916ebe02531b26b0c44755d4484bb8e86e..f0b018202b351e4a09dc28044ddc2232bbc2c5e5 100644
|
| --- a/Source/core/css/resolver/StyleAdjuster.cpp
|
| +++ b/Source/core/css/resolver/StyleAdjuster.cpp
|
| @@ -202,15 +202,6 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl
|
| || hasWillChangeThatCreatesStackingContext(style)))
|
| style.setZIndex(0);
|
|
|
| - // will-change:transform should result in the same rendering behavior as having a transform,
|
| - // including the creation of a containing block for fixed position descendants.
|
| - // SVG elements can skip this because they implicitly have transforms.
|
| - bool isSVGElement = e && e->isSVGElement();
|
| - if (!isSVGElement && !style.hasTransform() && (style.willChangeProperties().contains(CSSPropertyAliasWebkitTransform) || style.willChangeProperties().contains(CSSPropertyTransform))) {
|
| - bool makeIdentity = true;
|
| - style.setTransform(TransformOperations(makeIdentity));
|
| - }
|
| -
|
| if (doesNotInheritTextDecoration(style, e))
|
| style.clearAppliedTextDecorations();
|
|
|
| @@ -237,6 +228,7 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl
|
| || style.hasFilter()))
|
| style.setTransformStyle3D(TransformStyle3DFlat);
|
|
|
| + bool isSVGElement = e && e->isSVGElement();
|
| if (isSVGElement) {
|
| // Only the root <svg> element in an SVG document fragment tree honors css position
|
| if (!(isSVGSVGElement(*e) && e->parentNode() && !e->parentNode()->isSVGElement()))
|
|
|