Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| index 07ed841b6da935df6fdf36130c64ed18d28fd807..2d85a295f4cee8d0bc4b7c8adf0b8acd317c1327 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
| @@ -2401,7 +2401,7 @@ bool LayoutBox::mapToVisualRectInAncestorSpaceInternal( |
| containerOffset.move(layer()->offsetForInFlowPosition()); |
| } |
| - bool preserve3D = container->style()->preserves3D() || style()->preserves3D(); |
| + bool preserve3D = container->style()->preserves3D(); |
|
chrishtr
2017/03/10 23:29:54
Tested in VisualRectMappingTest.
|
| TransformState::TransformAccumulation accumulation = |
| preserve3D ? TransformState::AccumulateTransform |