LibWeb: Implement CSS 'isolation' property

This commit is contained in:
Psychpsyo 2025-01-11 01:34:47 +01:00 committed by Sam Atkins
commit 7757df5bb5
Notes: github-actions[bot] 2025-01-13 11:08:57 +00:00
11 changed files with 134 additions and 73 deletions

View file

@ -1440,6 +1440,12 @@ Optional<CSS::UserSelect> ComputedProperties::user_select() const
return keyword_to_user_select(value.to_keyword());
}
Optional<CSS::Isolation> ComputedProperties::isolation() const
{
auto const& value = property(CSS::PropertyID::Isolation);
return keyword_to_isolation(value.to_keyword());
}
Optional<CSS::MaskType> ComputedProperties::mask_type() const
{
auto const& value = property(CSS::PropertyID::MaskType);