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

Unified Diff: third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp

Issue 2859483006: cc: Enable composited border-radius scrolling.
Patch Set: test-rebaseline Created 3 years, 6 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
Index: third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp b/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
index be96ff5986a5487a4d592743cf973f642a122e6d..10ec3a81ad575c49052887a6a0e7d7080f5cc2d2 100644
--- a/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
@@ -319,11 +319,10 @@ TEST_F(NonCompositedMainThreadScrollingReasonRecordTest, NestedScrollersTest) {
" .box { overflow:scroll; width: 100px; height: 100px; }"
" .translucent { opacity: 0.5; }"
" .transform { transform: scale(0.8); }"
- " .with-border-radius { border: 5px solid; border-radius: 5px; }"
" .spacer { height: 1000px; }"
" .composited { will-change: transform; }"
"</style>"
- "<div id='container' class='container with-border-radius'>"
+ "<div id='container' class='container'>"
" <div class='translucent box'>"
" <div id='inner' class='composited transform box'>"
" <div class='spacer'></div>"
@@ -348,9 +347,8 @@ TEST_F(NonCompositedMainThreadScrollingReasonRecordTest, NestedScrollersTest) {
EXPECT_WHEEL_BUCKET(kHasOpacityAndLCDText, 1);
EXPECT_WHEEL_BUCKET(kBackgroundNotOpaqueInRectAndLCDText, 1);
EXPECT_WHEEL_BUCKET(kIsNotStackingContextAndLCDText, 1);
- EXPECT_WHEEL_BUCKET(kHasBorderRadius, 1);
EXPECT_WHEEL_BUCKET(kHasTransformAndLCDText, 0);
- EXPECT_WHEEL_TOTAL(4);
+ EXPECT_WHEEL_TOTAL(3);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698