File: style_webkit_scrollbars_test.html

package info (click to toggle)
aseba-plugin-blockly 20180211%2Bgit-2
  • links: PTS
  • area: non-free
  • in suites: buster
  • size: 64,472 kB
  • sloc: xml: 7,976; python: 2,314; sh: 261; lisp: 24; makefile: 10
file content (36 lines) | stat: -rw-r--r-- 1,177 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!--
Copyright 2017 The Closure Library Authors. All Rights Reserved.

Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
--><html><head><meta charset="UTF-8">

<script src="../base.js"></script>

<script>goog.require('goog.style.webkitScrollbarsTest');</script>
<title>Closure Unit Tests - goog.style.webkitScrollbarsTest</title><!--
Copyright 2017 The Closure Library Authors. All Rights Reserved.

Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
-->
<style>
 /*
 * Note that we have to apply these styles when the page is loaded or the
 * scrollbars might not pick them up.
 */
::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

.otherScrollBar::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
</style>
</head><body><div id="test-scrollbarwidth" style="background-color: orange; width: 100px; height: 100px; overflow: auto;">
 <div style="width: 200px; height: 200px; background-color: red">
  Test Scroll bar width with scroll
 </div>
</div></body></html>