| Index: Source/core/css/resolver/StyleAdjuster.cpp
|
| diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp
|
| index be3d89497722be5bfc7d69786a6c39b3ebb2b8a3..32b105bb99689228bf277f6f90f82727b863174f 100644
|
| --- a/Source/core/css/resolver/StyleAdjuster.cpp
|
| +++ b/Source/core/css/resolver/StyleAdjuster.cpp
|
| @@ -201,15 +201,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();
|
|
|
| @@ -236,6 +227,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()))
|
|
|