LibWeb/CSS: Use correct property when looking up container-type

This commit is contained in:
stelar7 2025-11-05 00:20:47 +01:00 committed by Jelle Raaijmakers
parent eb4ff07d83
commit 0f3a9a6958
Notes: github-actions[bot] 2025-11-06 12:29:18 +00:00

View file

@ -1900,7 +1900,7 @@ ContainerType ComputedProperties::container_type() const
{
ContainerType container_type {};
auto const& value = property(PropertyID::Contain);
auto const& value = property(PropertyID::ContainerType);
if (value.to_keyword() == Keyword::Normal)
return container_type;