blob: e83aa78bf2f64273004f84853de298e6785fc208 [file] [log] [blame]
[email protected]df162aa2010-08-26 21:05:411<style type="text/css">
2::-webkit-scrollbar {
3 width: 0.8em;
4 height: 0.8em;
5}
6::-webkit-scrollbar-thumb {
7 background: #666 -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.5)), color-stop(0.5, rgba(255,255,255,0.1)), color-stop(0.5, rgba(0,0,0,0)), to(rgba(0,0,0,0.01)));
8}
9</style>
10
11<body>
12<script>
[email protected]f94dcec2012-06-15 07:38:3713if (window.testRunner)
14 testRunner.dumpAsText();
[email protected]df162aa2010-08-26 21:05:4115
16function test()
17{
18 // Force a layout.
19 window.x = document.body.offsetTop;
20
21 var styles = document.getElementsByTagName("style");
22 for (var i = 0; i < styles.length; ++i)
23 document.head.appendChild(styles[i]);
24}
25document.addEventListener('DOMContentLoaded', test, false);
26</script>
27<div style="height: 1000px;">
28This test passes if it does not crash.
29</div>
30</body>