mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:37:44 +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
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ void LayoutState::UsedValues::set_max_content_width()
|
||||||
{
|
{
|
||||||
width_constraint = SizeConstraint::MaxContent;
|
width_constraint = SizeConstraint::MaxContent;
|
||||||
m_content_width = INFINITY;
|
m_content_width = INFINITY;
|
||||||
m_has_definite_height = false;
|
m_has_definite_width = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue