mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb: Resolve content-visibility fixme in html details element
This commit is contained in:
committed by
Sam Atkins
parent
020b20d817
commit
0ae048102c
@@ -185,9 +185,8 @@ void HTMLDetailsElement::update_shadow_tree_style()
|
||||
display: block;
|
||||
)~~~"_string));
|
||||
} else {
|
||||
// FIXME: Should be `display: block` but we do not support `content-visibility: hidden`.
|
||||
MUST(m_descendants_slot->set_attribute(HTML::AttributeNames::style, R"~~~(
|
||||
display: none;
|
||||
display: block;
|
||||
content-visibility: hidden;
|
||||
)~~~"_string));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user