chromium/third_party/google-closure-library/closure/goog/style/style_webkit_scrollbars_test.html

<!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>