Index: LayoutTests/scrollbars/custom-scrollbar-thumb-focus-iframe-inactive-pseudo.html |
diff --git a/LayoutTests/scrollbars/custom-scrollbar-thumb-inactive-pseudo.html b/LayoutTests/scrollbars/custom-scrollbar-thumb-focus-iframe-inactive-pseudo.html |
similarity index 84% |
copy from LayoutTests/scrollbars/custom-scrollbar-thumb-inactive-pseudo.html |
copy to LayoutTests/scrollbars/custom-scrollbar-thumb-focus-iframe-inactive-pseudo.html |
index 91044175f910baff8ba1c63688e95bd89c92e573..31cf063612e9a12b6c02b48289d75554eb0b6a9a 100644 |
--- a/LayoutTests/scrollbars/custom-scrollbar-thumb-inactive-pseudo.html |
+++ b/LayoutTests/scrollbars/custom-scrollbar-thumb-focus-iframe-inactive-pseudo.html |
@@ -32,12 +32,14 @@ div { |
} |
</style> |
<body> |
-<iframe src="resources/scrollable-iframe-customscrollbar.html"></iframe> |
+<iframe id="iframeactive" src="resources/scrollable-iframe-customscrollbar.html"></iframe> |
<div><p style="width:200px;height:200px"></p></div> |
<div><p style="width:200px;height:200px"></p></div> |
</body> |
<script> |
window.onload = function() { |
+var ifra = document.getElementById('iframeactive'); |
+ifra.focus(); |
// setWindowIsKey shall set the focus of the window. |
if (window.testRunner) |
window.testRunner.setWindowIsKey(false); |