mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb/CSS: Use correct property when looking up container-type
This commit is contained in:
parent
eb4ff07d83
commit
0f3a9a6958
Notes:
github-actions[bot]
2025-11-06 12:29:18 +00:00
Author: https://github.com/stelar7
Commit: 0f3a9a6958
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6700
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue