mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibWeb: Set the definite width flag in set_max_content_width
It was setting the definite flag for height.
This commit is contained in:
parent
0f040456a7
commit
b7d23162cc
Notes:
sideshowbarker
2024-07-17 03:51:15 +09:00
Author: https://github.com/axgallo Commit: https://github.com/SerenityOS/serenity/commit/b7d23162cc Pull-request: https://github.com/SerenityOS/serenity/pull/19828
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ void LayoutState::UsedValues::set_max_content_width()
|
|||
{
|
||||
width_constraint = SizeConstraint::MaxContent;
|
||||
m_content_width = INFINITY;
|
||||
m_has_definite_height = false;
|
||||
m_has_definite_width = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue