summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/scrollbar-gutter-abspos-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/scrollbar-gutter-abspos-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-overflow/scrollbar-gutter-abspos-001-ref.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/scrollbar-gutter-abspos-001-ref.html b/testing/web-platform/tests/css/css-overflow/scrollbar-gutter-abspos-001-ref.html
new file mode 100644
index 0000000000..29a2a99615
--- /dev/null
+++ b/testing/web-platform/tests/css/css-overflow/scrollbar-gutter-abspos-001-ref.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<title>CSS Overflow Reference: scrollbar-gutter is accounted for in abspos sizing</title>
+<style>
+.container {
+ scrollbar-gutter: stable;
+ overflow-y: auto;
+ width: 100px;
+ height: 200px;
+ position: relative;
+}
+.child {
+ width: 100%;
+ height: 100px;
+ background: green;
+}
+</style>
+<div class="container">
+ <div class="child"></div>
+</div>