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

Unified Diff: LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar-windowinactive.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
Index: LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar-windowinactive.html
diff --git a/LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar-windowinactive.html b/LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar-windowinactive.html
new file mode 100644
index 0000000000000000000000000000000000000000..c72e2afeb3a4f35a7caf74b15a30a3b08fab7996
--- /dev/null
+++ b/LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar-windowinactive.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+::-webkit-scrollbar {
+ width: 12px;
+ height: 12px;
+ background: rgba(255,0,0,0.8);
+}
+::-webkit-scrollbar:window-inactive {
+ background: rgba(255,150,250,0.8);
+}
+iframe {
+ width: 100px;
+ height: 130px;
+}
+</style>
+<iframe src="scrollable-subiframe-nowindowinactive.html"></iframe>

Powered by Google App Engine
This is Rietveld 408576698