| Index: LayoutTests/scrollbars/custom-scrollbar-inactive-only-on-windowinactive-selector.html
|
| diff --git a/LayoutTests/scrollbars/custom-scrollbar-inactive-only-on-windowinactive-selector.html b/LayoutTests/scrollbars/custom-scrollbar-inactive-only-on-windowinactive-selector.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fea773387e238d05de043fcd5c89efad4bfe244a
|
| --- /dev/null
|
| +++ b/LayoutTests/scrollbars/custom-scrollbar-inactive-only-on-windowinactive-selector.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE HTML>
|
| +<style>
|
| +::-webkit-scrollbar {
|
| + width: 12px;
|
| + height: 12px;
|
| + background: rgba(255,0,0,0.8);
|
| +}
|
| +body {
|
| + width: 1000px;
|
| + height: 1000px;
|
| +}
|
| +div {
|
| + width: 100px;
|
| + height: 100px;
|
| + overflow: scroll;
|
| +}
|
| +</style>
|
| +<iframe src="resources/scrollable-iframe-customscrollbar-windowinactive.html"></iframe>
|
| +<div><div></div></div>
|
| +<script>
|
| +window.onload = function() {
|
| +// setWindowIsKey shall set the focus of the window.
|
| +if (window.testRunner)
|
| + window.testRunner.setWindowIsKey(false);
|
| +}
|
| +</script>
|
|
|