Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>Reference</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com">
<style>
.box {
width: 100px;
height: 100px;
background-color: grey;
overflow: auto;
}
.item {
width: 150px;
height: 150px;
}
</style>
<p>The test passes if you see a grey square below and both scrollbars are visible.</p>
<div class="box"><div class="item"></div></div>