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

Side by Side Diff: LayoutTests/fast/scrolling/custom-scrollbar-for-root-layer-scrolls.html

Issue 1274073002: Apply custom scrollbar styles to the frame with root layer scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 5 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <script src="../../resources/js-test.js"></script>
3 <style>
4 ::-webkit-scrollbar {
5 width: 250px;
6 height: 250px;
7 }
8 ::-webkit-scrollbar-track {
9 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
10 -webkit-border-radius: 10px;
11 border-radius: 10px;
12 }
13 ::-webkit-scrollbar-thumb {
14 -webkit-border-radius: 1px;
15 background: rgba(255,0,0,0.8);
16 -webkit-box-shadow: inset 0 0 1px rgba(255,250,0,0.5);
17 }
18 #fill {
19 background-color: #ccd;
20 left: 0;
21 top: 0;
22 right: 0;
23 bottom: 0;
24 position: absolute;
25 }
26 #space {
27 width: 1000px;
28 height: 1000px;
29 }
30 </style>
31 <div id="fill"></div>
32 <div id="space"></div>
33 <script>
34 var fill = document.querySelector("#fill");
35 description("Tests that Styles are applied to custom scrollbar on --root-layer -scrolls.");
skobes 2015/08/12 01:59:25 The test will run in virtual/rootlayerscrolls, but
MuVen 2015/08/12 07:15:09 Done.
36 shouldBe("fill.clientWidth", "550");
37 shouldBe("fill.clientHeight", "350");
38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698