From b7d23162ccd56a7d2a22d9b1c5a682154bbb00ce Mon Sep 17 00:00:00 2001 From: Andi Gallo Date: Wed, 5 Jul 2023 23:27:37 +0000 Subject: [PATCH] LibWeb: Set the definite width flag in set_max_content_width It was setting the definite flag for height. --- Userland/Libraries/LibWeb/Layout/LayoutState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Layout/LayoutState.cpp b/Userland/Libraries/LibWeb/Layout/LayoutState.cpp index df2f6a24ee..bf219a393d 100644 --- a/Userland/Libraries/LibWeb/Layout/LayoutState.cpp +++ b/Userland/Libraries/LibWeb/Layout/LayoutState.cpp @@ -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; } }