mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic update from web-platform-tests [css-grid] Migrate grid-container-width-should-include-scroll-bar-width.html to WPT This CL migrates grid-container-width-should-include-scroll-bar-width.html from fast/css-grid-layout to external/wpt/css/css-grid/grid-model with WPT styles, adding links to the relevant specs, and test description. Additionally, this test is renamed to grid-scrollbars-sizing-002.html to be align with existing tests. Bug: 1063749 Change-Id: Iec5c026bdcbf8d23cdef4a4789ee4c68c87e40ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153456 Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Reviewed-by: Manuel Rego <rego@igalia.com> Cr-Commit-Position: refs/heads/master@{#760443} -- wpt-commits: 2a0ac4cc10a6c486756ed77e74bb2593f52a9bf9 wpt-pr: 23045
37 lines
714 B
HTML
37 lines
714 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: -moz-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>
|