Debian Codegraph @

closure-library/closure/goog/style/style_webkit_scrollbars_test.html

raw
1 <!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!--
2 Copyright 2017 The Closure Library Authors. All Rights Reserved.
3
4 Use of this source code is governed by the Apache License, Version 2.0.
5 See the COPYING file for details.
6 --><html><head><meta charset="UTF-8">
7
8 <script src="../base.js"></script>
9
10 <script>goog.require('goog.style.webkitScrollbarsTest');</script>
11 <title>Closure Unit Tests - goog.style.webkitScrollbarsTest</title><!--
12 Copyright 2017 The Closure Library Authors. All Rights Reserved.
13
14 Use of this source code is governed by the Apache License, Version 2.0.
15 See the COPYING file for details.
16 -->
17 <style>
18 /*
19 * Note that we have to apply these styles when the page is loaded or the
20 * scrollbars might not pick them up.
21 */
22 ::-webkit-scrollbar {
23 width: 16px;
24 height: 16px;
25 }
26
27 .otherScrollBar::-webkit-scrollbar {
28 width: 10px;
29 height: 10px;
30 }
31 </style>
32 </head><body><div id="test-scrollbarwidth" style="background-color: orange; width: 100px; height: 100px; overflow: auto;">
33 <div style="width: 200px; height: 200px; background-color: red">
34 Test Scroll bar width with scroll
35 </div>
36 </div></body></html>