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

Unified Diff: LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar.html

Issue 748513006: Trigger style recalc when the window's active state change (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed few more indentations 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
Index: LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar.html
diff --git a/LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar.html b/LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar.html
new file mode 100644
index 0000000000000000000000000000000000000000..01064feee5f6071ea498d125027e918eab862f5a
--- /dev/null
+++ b/LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar.html
@@ -0,0 +1,32 @@
+<html>
+<head>
+<style>
+::-webkit-scrollbar {
+ width: 12px;
+ height: 12px;
+}
+::-webkit-scrollbar-track {
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
+ -webkit-border-radius: 10px;
+ border-radius: 10px;
+}
+::-webkit-scrollbar-thumb {
+ -webkit-border-radius: 10px;
+ border-radius: 10px;
+ background: rgba(255,0,0,0.8);
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
+}
+::-webkit-scrollbar-thumb:window-inactive {
+ background: rgba(255,150,250,0.8);
+}
+iframe {
+ width: 100px;
+ height: 100px;
+}
+</style>
+</head>
+ <body>
+ <iframe src="scrollable-subiframe-inactive.html"></iframe>
+ <div id="fillDIV" style="background-color:lightblue;width:400px;height:400px;overflow:hidden;"> </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698