| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/layout/LayoutTestHelper.h" | 5 #include "core/layout/LayoutTestHelper.h" |
| 6 #include "core/layout/LayoutTreeAsText.h" | 6 #include "core/layout/LayoutTreeAsText.h" |
| 7 #include "core/layout/LayoutView.h" | 7 #include "core/layout/LayoutView.h" |
| 8 #include "core/paint/ObjectPaintProperties.h" | 8 #include "core/paint/ObjectPaintProperties.h" |
| 9 #include "platform/graphics/paint/TransformPaintPropertyNode.h" | 9 #include "platform/graphics/paint/TransformPaintPropertyNode.h" |
| 10 #include "platform/testing/UnitTestHelpers.h" | 10 #include "platform/testing/UnitTestHelpers.h" |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 ObjectPaintProperties* scrollerProperties = scroller.objectPaintProperties()
; | 673 ObjectPaintProperties* scrollerProperties = scroller.objectPaintProperties()
; |
| 674 LayoutObject& child = *document().getElementById("child")->layoutObject(); | 674 LayoutObject& child = *document().getElementById("child")->layoutObject(); |
| 675 ObjectPaintProperties* childProperties = child.objectPaintProperties(); | 675 ObjectPaintProperties* childProperties = child.objectPaintProperties(); |
| 676 | 676 |
| 677 EXPECT_EQ(frameView->contentClip(), childProperties->localBorderBoxPropertie
s()->clip); | 677 EXPECT_EQ(frameView->contentClip(), childProperties->localBorderBoxPropertie
s()->clip); |
| 678 EXPECT_EQ(frameView->scrollTranslation(), childProperties->localBorderBoxPro
perties()->transform); | 678 EXPECT_EQ(frameView->scrollTranslation(), childProperties->localBorderBoxPro
perties()->transform); |
| 679 EXPECT_EQ(scrollerProperties->effect(), childProperties->localBorderBoxPrope
rties()->effect); | 679 EXPECT_EQ(scrollerProperties->effect(), childProperties->localBorderBoxPrope
rties()->effect); |
| 680 } | 680 } |
| 681 | 681 |
| 682 } // namespace blink | 682 } // namespace blink |
| OLD | NEW |