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

Unified Diff: LayoutTests/scrollbars/custom-scrollbar-inactive-only-on-windowinactive-selector.html

Issue 861553003: Invalidate CustomScrollbars on having window-inactive selector. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 5 years, 11 months 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-inactive-only-on-windowinactive-selector-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/scrollbars/custom-scrollbar-inactive-only-on-windowinactive-selector-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698