summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-001-ref.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-001-ref.html b/testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-001-ref.html
new file mode 100644
index 0000000000..a090f79559
--- /dev/null
+++ b/testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-001-ref.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+html {
+ overflow-x: scroll;
+}
+.grid {
+ float: left;
+ overflow-y: scroll;
+ overflow-x: scroll;
+}
+.item {
+ background: lime;
+ width: 100px;
+ height: 100px;
+}
+</style>
+<p>This test passes if you see a 100x100px green box and scrollbars are disabled.</p>
+<div class="grid">
+ <div class="item">item</div>
+</div>