| Index: third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp b/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| index 47690de53542f8a7ccdfcf6e3df2c73bd749ac86..458d39df09ba361f836fda271898fe9946fabe23 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| @@ -117,28 +117,4 @@
|
| EXPECT_EQ(LayoutRect(0, 0, 200, 400), layerBounds);
|
| }
|
|
|
| -TEST_F(PaintLayerClipperTest, LocalClipRectFixedUnderTransform) {
|
| - setBodyInnerHTML(
|
| - "<div id='transformed'"
|
| - " style='will-change: transform; width: 100px; height: 100px;"
|
| - " overflow: hidden'>"
|
| - " <div id='fixed' "
|
| - " style='position: fixed; width: 100px; height: 100px;"
|
| - " top: -50px'>"
|
| - " </div>"
|
| - "</div>");
|
| -
|
| - LayoutRect infiniteRect(LayoutRect::infiniteIntRect());
|
| - PaintLayer* transformed =
|
| - toLayoutBoxModelObject(getLayoutObjectByElementId("transformed"))
|
| - ->layer();
|
| - PaintLayer* fixed =
|
| - toLayoutBoxModelObject(getLayoutObjectByElementId("fixed"))->layer();
|
| -
|
| - EXPECT_EQ(LayoutRect(0, 0, 100, 100),
|
| - transformed->clipper().localClipRect(transformed));
|
| - EXPECT_EQ(LayoutRect(0, 50, 100, 100),
|
| - fixed->clipper().localClipRect(transformed));
|
| -}
|
| -
|
| } // namespace blink
|
|
|