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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <style> 2 <style>
3 ::-webkit-scrollbar { 3 ::-webkit-scrollbar {
4 width: 12px; 4 width: 12px;
5 height: 12px; 5 height: 12px;
6 } 6 }
7 ::-webkit-scrollbar-track { 7 ::-webkit-scrollbar-track {
8 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 8 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
9 -webkit-border-radius: 10px; 9 -webkit-border-radius: 10px;
10 border-radius: 10px; 10 border-radius: 10px;
(...skipping 14 matching lines...) Expand all
25 width: 1000px; 25 width: 1000px;
26 height: 1000px; 26 height: 1000px;
27 } 27 }
28 div { 28 div {
29 width: 100px; 29 width: 100px;
30 height: 100px; 30 height: 100px;
31 overflow: scroll; 31 overflow: scroll;
32 } 32 }
33 </style> 33 </style>
34 <body> 34 <body>
35 <iframe src="resources/scrollable-iframe-customscrollbar.html"></iframe> 35 <iframe id="iframeactive" src="resources/scrollable-iframe-customscrollbar.html" ></iframe>
36 <div><p style="width:200px;height:200px"></p></div> 36 <div><p style="width:200px;height:200px"></p></div>
37 <div><p style="width:200px;height:200px"></p></div> 37 <div><p style="width:200px;height:200px"></p></div>
38 </body> 38 </body>
39 <script> 39 <script>
40 window.onload = function() { 40 window.onload = function() {
41 var ifra = document.getElementById('iframeactive');
42 ifra.focus();
41 // setWindowIsKey shall set the focus of the window. 43 // setWindowIsKey shall set the focus of the window.
42 if (window.testRunner) 44 if (window.testRunner)
43 window.testRunner.setWindowIsKey(false); 45 window.testRunner.setWindowIsKey(false);
44 } 46 }
45 </script> 47 </script>
OLDNEW
« 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