mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 20:15:06 +00:00

Properties like min-width, max-width, etc, should be ignored while we're trying to determine the intrinsic size of a flex container. This fixes an infinite recursion when using an intrinsic size keyword as the max-width of a flex column container. Note that this behavior is marked as AD-HOC in code comments because specs don't tell us how to achieve intrinsic sizing. We can now load product pages on the Twinings site, such as https://twinings.co.uk/products/earl-grey-100-tea-bags :^)
7 lines
136 B
HTML
7 lines
136 B
HTML
<!doctype html><style>
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: max-content;
|
|
}
|
|
</style>
|