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

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

Issue 2685653003: Reland "Box shadow should be recorded as main thread scrolling reasons for non-root layers." (Closed)
Patch Set: Created 3 years, 10 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 c7be23967c9ff2ab908dc31b05e7ca0733f9cb49..f63e247efe2c7aa1ab18e76828cb21e4e6bd0c17 100644
--- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
@@ -1155,4 +1155,9 @@
MainThreadScrollingReason::kHasBorderRadius);
}
+TEST_F(StyleRelatedMainThreadScrollingReasonTest, BoxShadowTest) {
+ testStyle("box-shadow",
+ MainThreadScrollingReason::kHasBoxShadowFromNonRootLayer);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698