mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Resolve content-visibility fixme in html details element
This commit is contained in:
parent
020b20d817
commit
0ae048102c
Notes:
sideshowbarker
2024-07-19 21:35:40 +09:00
Author: https://github.com/EdwinHoksberg
Commit: 0ae048102c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/267
Reviewed-by: https://github.com/AtkinsSJ ✅
2 changed files with 3 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue