fune/testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-002-ref.html
Robin Métral a8e70382f7 Bug 1745752 [wpt PR 32018] - Remove vendor prefixes from intrinsic sizes, a=testonly
Automatic update from web-platform-tests
Remove vendor prefixes from intrinsic sizes

--

wpt-commits: 68e498925a0ce4c7c875669bfb05d6f9badbb5df
wpt-pr: 32018
2021-12-23 14:24:37 +00:00

36 lines
687 B
HTML

<!DOCTYPE html>
<style>
.grid {
display: block;
background-color: grey;
overflow: scroll;
}
.inline-grid {
display: inline-block;
background-color: grey;
overflow: scroll;
}
.gridItem {
display: block;
width: 100px;
height: 100px;
background: green;
}
.fit-content {
width: fit-content;
}
</style>
<body>
<div class='grid fit-content'>
<span class='gridItem'></span>
</div>
<div class='grid fit-content' style='overflow-y: hidden'>
<span class='gridItem'></span>
</div>
<div class='inline-grid fit-content'>
<span class='gridItem'></span>
</div>
<div class='inline-grid fit-content' style='overflow-y: hidden'>
<span class='gridItem'></span>
</div>
</body>