25 lines
819 B
HTML
25 lines
819 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
::-webkit-scrollbar {
|
|
-webkit-padding-start: 1%; 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)));
|
|
}
|
|
</style>
|
|
<script>
|
|
function runTest() {
|
|
if (window.testRunner) {
|
|
testRunner.dumpAsText();
|
|
document.body.offsetTop;
|
|
testRunner.displayAndTrackRepaints();
|
|
}
|
|
};
|
|
</script>
|
|
</head>
|
|
<body onload="runTest()">
|
|
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=86162">bug 86162</a>:
|
|
This tests that there is no crash when using percentage value for scrollbar's padding property. On success you should see a frame with scrollbars and one PASS message in it.
|
|
<div style="height: 1000px;"></div>
|
|
</body>
|
|
</html>
|