mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibWeb: Clamp content-based minimum size by limited max track size [GFC]
Progress on https://wpt.live/css/css-grid/grid-items/grid-minimum-size-grid-items-022.html
This commit is contained in:
parent
ec3c545426
commit
4a7b947c5d
Notes:
github-actions[bot]
2025-03-18 14:17:20 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 4a7b947c5d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3977
3 changed files with 86 additions and 9 deletions
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html><style>
|
||||
.grid {
|
||||
display: grid;
|
||||
background-color: grey;
|
||||
border: solid thick;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
grid-template-rows: 25px 25px;
|
||||
grid-template-columns: minmax(auto, 0px);
|
||||
}
|
||||
|
||||
.grid>div:nth-child(1) {
|
||||
color: blue;
|
||||
background: cyan;
|
||||
}
|
||||
|
||||
.grid>div:nth-child(2) {
|
||||
background: magenta;
|
||||
}
|
||||
</style>
|
||||
<div class="grid"><div id="a">XXXXXXXXXX</div><div id="b"></div></div>
|
||||
<div class="grid"><div id="a" style="margin: 0px 5px"></div><div id="b"></div></div>
|
Loading…
Add table
Add a link
Reference in a new issue