mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:27:39 +00:00
LibWeb: Treat % max-height as none when containing block size indefinite
Fixes #19371
This commit is contained in:
parent
b6f3369b66
commit
43e1343abf
6 changed files with 101 additions and 5 deletions
|
@ -99,6 +99,8 @@ protected:
|
|||
static bool should_treat_width_as_auto(Box const&, AvailableSpace const&);
|
||||
static bool should_treat_height_as_auto(Box const&, AvailableSpace const&);
|
||||
|
||||
[[nodiscard]] bool should_treat_max_height_as_none(Box const&) const;
|
||||
|
||||
OwnPtr<FormattingContext> layout_inside(Box const&, LayoutMode, AvailableSpace const&);
|
||||
void compute_inset(Box const& box);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue