mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 10:36:02 +00:00
LibWeb: Ignore flex container size constraints during intrinsic sizing
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 :^)
This commit is contained in:
parent
f6e4caf197
commit
15440b156f
Notes:
sideshowbarker
2024-07-17 10:16:43 +09:00
Author: https://github.com/awesomekling
Commit: 15440b156f
Pull-request: https://github.com/SerenityOS/serenity/pull/20303
3 changed files with 23 additions and 6 deletions
|
@ -0,0 +1,3 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x16 [BFC] children: not-inline
|
||||
Box <body> at (8,8) content-size 0x0 flex-container(column) [FFC] children: not-inline
|
Loading…
Add table
Add a link
Reference in a new issue