Index: third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars-in-frame.html |
diff --git a/third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars-in-frame.html b/third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars-in-frame.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..57e20682ccc3d3fb0d1c45eac3cd66c9eb92d8da |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars-in-frame.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<style> |
+html, body { |
+ margin: 0; |
+ padding: 0; |
+ min-height: 2000px; |
+ min-width: 2000px; |
+} |
+</style> |
+<script> |
+if (window.internals) { |
+ testRunner.dumpAsTextWithPixelResults(); |
+ internals.settings.setViewportEnabled(false); |
+ internals.settings.setHideScrollbars(true); |
+} |
+</script> |
+</head> |
+<body> |
+<!-- Tests that scrollbars on the frame are not shown if the hideScrollbars |
+setting is true. Since the body has a minimum height/width larger than the |
+frame, scrollbars would otherwise be visible. --> |
+</body> |
+</html> |