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

Unified Diff: third_party/WebKit/Source/web/tests/data/custom_scrollbar.html

Issue 2085853003: cc: Make custom scrollbar scroll on main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update ScrollingCoordinatorTest Created 4 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.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/web/tests/data/custom_scrollbar.html
diff --git a/third_party/WebKit/Source/web/tests/data/custom_scrollbar.html b/third_party/WebKit/Source/web/tests/data/custom_scrollbar.html
new file mode 100644
index 0000000000000000000000000000000000000000..d8d44c0a68311d0cd741d25bf3bef9fa89362061
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/custom_scrollbar.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ .custom_scrollbar::-webkit-scrollbar {
+ width: 12px;
+ }
+
+ .custom_scrollbar::-webkit-scrollbar-track {
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
+ border-radius: 10px;
+ }
+
+ .custom_scrollbar::-webkit-scrollbar-thumb {
+ border-radius: 10px;
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
+ }
+
+ #container {
+ width: 220px;
+ height: 200px;
+ overflow-y: scroll;
+ }
+
+ #content {
+ width: 200px;
+ height: 1000px;
+ background: silver;
+ margin: 0px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="custom_scrollbar" id="container">
+ <div id="content">
+ The custom scrollbar should scroll on main thread.
+ </div>
+ </div>
+ </body>
+</html>
« no previous file with comments | « third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698