1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 00:45:07 +00:00
serenity/Tests/LibWeb/Layout/input/grid/justify-start-min-width.html
Aliaksandr Kalenik b34b0a1cd3 LibWeb: Use root content width as automatic width if children inline
Returning greatest_child_width() from automatic_content_width() in BFC
if root box children are inline and there are min/max-width that caused
width to be changed after IFC layout while content_width should be
always set to correct value by layout_inline_children() regardless of
layout mode.
2023-08-10 05:10:44 +02:00

11 lines
No EOL
212 B
HTML

<!DOCTYPE html><html><head><style>
#grid {
display: grid;
}
#box {
justify-self: start;
min-width: 18rem;
background-color: orange;
}
</style></head><body><div id="grid"><a id="box">Start Selling