Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: LayoutTests/scrollbars/custom-scrollbar-thumb-focus-iframe-inactive-pseudo.html

Issue 792233004: Invalidate Custom Scrollbars irrespective of focused frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/scrollbars/custom-scrollbar-thumb-focus-iframe-inactive-pseudo-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | LayoutTests/scrollbars/custom-scrollbar-thumb-focus-iframe-inactive-pseudo-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698