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

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

Issue 2638013002: Record box shadow as main thread scrolling reasons (Closed)
Patch Set: nit Created 3 years, 11 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/ScrollingCoordinatorTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
index b63f40506c09166436649eeee8c49008228350e3..85f01cb06c32d8b18fb0a53df78cddd1f5f3f1ff 100644
--- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
@@ -1154,4 +1154,9 @@ TEST_F(StyleRelatedMainThreadScrollingReasonTest, LCDTextEnabledTest) {
MainThreadScrollingReason::kHasBorderRadius);
}
+TEST_F(StyleRelatedMainThreadScrollingReasonTest, BoxShadowTest) {
+ testStyle("box-shadow",
+ MainThreadScrollingReason::kHasBoxShadowFromNonRootLayer);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698