diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-002-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-002-ref.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-002-ref.html b/testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-002-ref.html new file mode 100644 index 0000000000..d95ab37f98 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/reference/grid-container-scrollbars-sizing-002-ref.html @@ -0,0 +1,36 @@ +<!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> |