OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Composited Scrollbars: different track part colours.</title> | 3 <title>Composited Scrollbars: different track part colours.</title> |
4 <style> | 4 <style> |
5 ::-webkit-scrollbar { | 5 ::-webkit-scrollbar { |
6 width: 15px; | 6 width: 15px; |
7 height: 15px; | 7 height: 15px; |
8 } | 8 } |
9 ::-webkit-scrollbar-button:vertical:start { | 9 ::-webkit-scrollbar-button:vertical:start { |
10 background-color: red; | 10 background-color: red; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 if (window.testRunner) { | 53 if (window.testRunner) { |
54 window.testRunner.notifyDone(); | 54 window.testRunner.notifyDone(); |
55 } | 55 } |
56 }, 0); | 56 }, 0); |
57 } | 57 } |
58 | 58 |
59 window.addEventListener("load", doTest, false); | 59 window.addEventListener("load", doTest, false); |
60 </script> | 60 </script> |
61 </head> | 61 </head> |
62 <body> | 62 <body> |
63 <div style="width: 1600px; height: 1000px; -webkit-transform: translateZ(0);"> | 63 <div style="width: 1600px; height: 1000px; transform: translateZ(0);"> |
64 </div> | 64 </div> |
65 <div style="position : absolute; left : 450; top : 350; width : 200px; height :
100px; border-style : solid; border-color : green; border-width : 2px"> | 65 <div style="position : absolute; left : 450; top : 350; width : 200px; height :
100px; border-style : solid; border-color : green; border-width : 2px"> |
66 <!--- | 66 <!--- |
67 <h2>Composited Custom Scrollbars with Different Coloured Track Parts</h2> | 67 <h2>Composited Custom Scrollbars with Different Coloured Track Parts</h2> |
68 If this test succeeds, the track part before the thumb will be purple, and the t
rack part after | 68 If this test succeeds, the track part before the thumb will be purple, and the t
rack part after |
69 the thumb will be green. All four button rects will have different colours. | 69 the thumb will be green. All four button rects will have different colours. |
70 | 70 |
71 The div border should be in the top-left area of the window. | 71 The div border should be in the top-left area of the window. |
72 ---> | 72 ---> |
73 </div> | 73 </div> |
74 </body> | 74 </body> |
75 </html> | 75 </html> |
OLD | NEW |