mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +02:00
Automatic update from web-platform-tests [css-grid] Migrate grid-container-scroll-accounts-for-auto-margin.html to WPT This CL migrates grid-container-scroll-accounts-for-auto-margin.html from fast/css-grid-layout to external/wpt/css/css-grid/alignment with WPT styles, adding links to the relevant specs, and test description. Additionally, this test is renamed to grid-container-auto-margin-scrollbars-001.html to be aligned with existing tests. Bug: 1063749 Change-Id: Ib44cdce4fc7c20121efd8cbf0af76cc325a90f1d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153449 Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Reviewed-by: Javier Fernandez <jfernandez@igalia.com> Reviewed-by: Manuel Rego <rego@igalia.com> Cr-Commit-Position: refs/heads/master@{#760293} -- wpt-commits: 3c10aed1f63a9628e891b4c48c80f99055377821 wpt-pr: 23042
21 lines
336 B
HTML
21 lines
336 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
body {
|
|
position: relative;
|
|
height: 100vh;
|
|
}
|
|
.item1 {
|
|
width: fit-content;
|
|
width: -moz-fit-content;
|
|
margin: 0px auto;
|
|
}
|
|
.item2 {
|
|
position: absolute;
|
|
bottom: 0;
|
|
background-color: cyan;
|
|
height: 50px;
|
|
width: 100%;
|
|
}
|
|
</style>
|
|
<div class="item1">item1</div>
|
|
<div class="item2">item2</div>
|