1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:27:35 +00:00

LibWeb: Return grid container width from automatic_content_width in GFC

automatic_content_width() should return grid container width that is
supposed to be set by determine_intrinsic_size_of_grid_container().
This commit is contained in:
Aliaksandr Kalenik 2023-05-13 12:34:45 +03:00 committed by Andreas Kling
parent 644e4f4c99
commit d187862f76
3 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,16 @@
<!DOCTYPE html><html><head><style>
* {
border: 1px solid black !important;
}
.grid {
float: left;
display: grid;
grid-template-columns: min-content minmax(0, auto);
}
.whee {
background: pink;
}
.yeehaw {
background: lightskyblue;
}
</style></head><body><div class="grid"><div class="whee">whee</div><div class="yeehaw">yeehaw</div>