Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp

Issue 1953833002: Revert of Use correct clip container when computing acl for scroll children (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp
index b59b40ca10e6d5727876cf8ab6d540c41e6e68df..9c66cce9f35c2b09266c36f3e64035549ee6ec1b 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp
@@ -626,18 +626,4 @@
EXPECT_FALSE(mapping->foregroundLayer());
}
-TEST_F(CompositedLayerMappingTest, OverflowAndClippingWithACL)
-{
- document().frame()->settings()->setPreferCompositingToLCDTextEnabled(true);
- setBodyInnerHTML(
- "<div style='height:700px; overflow-y:scroll; background-color:red;'>"
- " <div style='overflow:hidden; width: 700px; height:2000px;'>"
- " <div id='hidden' style='background-color:blue; width: 700px; height:2000px; position:relative;'></div>"
- " </div>"
- "</div>");
- CompositedLayerMapping* mapping = toLayoutBlock(getLayoutObjectByElementId("hidden"))->layer()->compositedLayerMapping();
- ASSERT_TRUE(mapping->ancestorClippingLayer());
- EXPECT_EQ(2000.f, mapping->ancestorClippingLayer()->size().height());
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698