1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 11:45:08 +00:00
serenity/Tests/LibWeb/Layout/input/table/infinite-padding.html
Aliaksandr Kalenik 9101c8d079 LibWeb: Use available space to resolve table container width
Using avilable space directly while resolving table container width
allows to avoid assigning it to table wrapper box content width which
sometimes involves infinite (saturated) values.

Also this allows to get rid of set_max_content_width() which is a hack
that allows to bypass set_content_width() to assign infinite
(saturated) width to a box.

Closes https://github.com/SerenityOS/serenity/issues/19521
2023-08-11 19:36:19 +02:00

10 lines
No EOL
171 B
HTML

<!DOCTYPE html><html><head><style>
#box1 {
display: table;
}
#box2 {
display: table;
padding: 100%;
}
</style></head><body><div id="box1"><div><div id="box2">