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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars-expected.html

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: replace viewport test b/c overlay bars are hidden in layout tests. Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 html, body { 5 html, body {
6 margin: 0; 6 margin: 0;
7 padding: 0; 7 padding: 0;
8 } 8 }
9 .container { 9 .container {
10 width: 100px; 10 width: 100px;
11 height: 100px; 11 height: 100px;
12 background-color: lime; 12 background-color: lime;
13 position: relative; 13 position: relative;
14 } 14 }
15 </style> 15 </style>
16 <script> 16 <script>
17 </script> 17 </script>
18 </head> 18 </head>
19 <body> 19 <body>
20 <p>You should see 4 green boxes that do not show scrollbars. 20 <p>You should see 4 green boxes that do not show scrollbars.
21 The first two boxes would show overlay scrollbars if they weren't 21 They would show scrollbars if they weren't hidden (2nd and 4th with scrollbars o n the left).</p>
22 hidden (second one with a scrollbar on the left).</p>
23 22
24 <div class="container"></div> 23 <div class="container"></div>
25 <div dir="rtl" class="container"></div> 24 <div dir="rtl" class="container"></div>
26 25
27 <div class="container"></div> 26 <div class="container"></div>
28 <div dir="rtl" class="container"></div> 27 <div dir="rtl" class="container"></div>
29 </body> 28 </body>
30 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698