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

Unified Diff: third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display.html

Issue 2198853002: Draw main frame custom scrollbars in root layer scrolling mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comments Created 4 years, 3 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 | « no previous file | third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display.html
diff --git a/third_party/WebKit/LayoutTests/fast/scrolling/custom-scrollbar-style-applied-with-overflow-attribute-expected.html b/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display.html
similarity index 56%
copy from third_party/WebKit/LayoutTests/fast/scrolling/custom-scrollbar-style-applied-with-overflow-attribute-expected.html
copy to third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display.html
index 81ff4d2b70da4c0a62887cb141681e907a45fb3f..026c376101b907bea5d25341645435ca861c007b 100644
--- a/third_party/WebKit/LayoutTests/fast/scrolling/custom-scrollbar-style-applied-with-overflow-attribute-expected.html
+++ b/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display.html
@@ -1,25 +1,25 @@
<!DOCTYPE HTML>
<style>
::-webkit-scrollbar {
- width: 100px;
- height: 10px;
+ width: 12px;
+ height: 12px;
}
::-webkit-scrollbar-track {
- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
-webkit-border-radius: 10px;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
- -webkit-border-radius: 1px;
+ -webkit-border-radius: 10px;
+ border-radius: 10px;
background: rgba(255,0,0,0.8);
- -webkit-box-shadow: inset 0 0 1px rgba(255,250,0,0.5);
-}
-#space {
- width: 1000px;
- height: 1000px;
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
html {
overflow: scroll;
}
+body {
+ width: 1000px;
+ height: 1000px;
+}
</style>
-<div id="space"></div>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698