blob: 0b2eebb569929f1ec19ef086d03e63e281fc5900 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>
|