Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>overflow-y: scroll on an empty element doesn't cause it to gain height</title>
<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>