summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/scrollbar-empty-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/scrollbar-empty-001.html')
-rw-r--r--testing/web-platform/tests/css/css-overflow/scrollbar-empty-001.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/scrollbar-empty-001.html b/testing/web-platform/tests/css/css-overflow/scrollbar-empty-001.html
new file mode 100644
index 0000000000..0b2eebb569
--- /dev/null
+++ b/testing/web-platform/tests/css/css-overflow/scrollbar-empty-001.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<title>overflow-y: scroll on an empty element doesn't cause it to gain height</title>
+<link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-overflow-y">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1365806">
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
+<link rel="author" title="Mozilla" href="https://mozilla.org">
+<link rel="match" href="/css/reference/blank.html">
+<style>
+ div {
+ background: red;
+ overflow-y: scroll;
+ }
+</style>
+<div></div>