mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Support content-visibility css
This commit is contained in:
parent
bd72ff5669
commit
020b20d817
Notes:
sideshowbarker
2024-07-19 21:35:47 +09:00
Author: https://github.com/EdwinHoksberg
Commit: 020b20d817
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/267
Reviewed-by: https://github.com/AtkinsSJ ✅
12 changed files with 69 additions and 7 deletions
|
@ -613,6 +613,10 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
|
|||
if (overflow_y.has_value())
|
||||
computed_values.set_overflow_y(overflow_y.value());
|
||||
|
||||
auto content_visibility = computed_style.content_visibility();
|
||||
if (content_visibility.has_value())
|
||||
computed_values.set_content_visibility(content_visibility.value());
|
||||
|
||||
auto cursor = computed_style.cursor();
|
||||
if (cursor.has_value())
|
||||
computed_values.set_cursor(cursor.value());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue