21 lines
358 B
HTML
21 lines
358 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
html {
|
|
overflow-x: scroll;
|
|
}
|
|
.grid {
|
|
width: fit-content;
|
|
overflow-y: scroll;
|
|
overflow-x: scroll;
|
|
}
|
|
.item {
|
|
background: lime;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
<p>This test passes if you see a 100x100px green box and scrollbars are disabled.</p>
|
|
<div class="grid">
|
|
<div class="item">item</div>
|
|
</div>
|