1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:47:47 +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:
Andi Gallo 2023-07-05 23:27:37 +00:00 committed by Andreas Kling
parent 0f040456a7
commit b7d23162cc

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