LibWeb: Set the definite width flag in set_max_content_width

It was setting the definite flag for height.
This commit is contained in:
Andi Gallo 2023-07-05 23:27:37 +00:00 committed by Andreas Kling
parent 0f040456a7
commit b7d23162cc
Notes: sideshowbarker 2024-07-17 03:51:15 +09:00

View file

@ -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;
}
}