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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars-in-frame.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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 html, body {
6 margin: 0;
7 padding: 0;
8 min-height: 2000px;
9 min-width: 2000px;
10 }
11 </style>
12 <script>
13 if (window.internals) {
14 testRunner.dumpAsTextWithPixelResults();
15 internals.settings.setViewportEnabled(false);
16 internals.settings.setHideScrollbars(true);
17 }
18 </script>
19 </head>
20 <body>
21 <!-- Tests that scrollbars on the frame are not shown if the hideScrollbars
22 setting is true. Since the body has a minimum height/width larger than the
23 frame, scrollbars would otherwise be visible. -->
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698