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

Unified Diff: third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display-on-root-layer-scrolls.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: cleanup 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
Index: third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display-on-root-layer-scrolls.html
diff --git a/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-for-iframe-changing-dynamically-expected.html b/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display-on-root-layer-scrolls.html
similarity index 64%
copy from third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-for-iframe-changing-dynamically-expected.html
copy to third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display-on-root-layer-scrolls.html
index c31f4e8831446a6f21d64d005c374143ab68fc07..48015db2b2183e535c5cb12c30f822ac5cd313e2 100644
--- a/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-for-iframe-changing-dynamically-expected.html
+++ b/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display-on-root-layer-scrolls.html
@@ -1,26 +1,27 @@
<!DOCTYPE HTML>
<style>
-/* Let's get this party started */
::-webkit-scrollbar {
- width: 20px;
- height: 25px;
+ width: 12px;
+ height: 12px;
}
-
-/* Track */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
-webkit-border-radius: 10px;
border-radius: 10px;
}
-
-/* Handle */
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: rgba(255,0,0,0.8);
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
-
+html {
+ overflow: scroll;
+}
+body {
+ width: 1000px;
+ height: 1000px;
+}
</style>
-<iframe src="resources/scrollable-iframe.html"></iframe>
-<iframe src="resources/scrollable-iframe.html"></iframe>
+<body>
bokan 2016/09/02 16:01:54 Nit: No body tags
MuVen 2016/09/06 10:07:28 Done.
+</body>

Powered by Google App Engine
This is Rietveld 408576698