LibWeb: Support content-visibility css

This commit is contained in:
Edwin Hoksberg 2024-06-23 14:52:56 +02:00 committed by Sam Atkins
commit 020b20d817
Notes: sideshowbarker 2024-07-19 21:35:47 +09:00
12 changed files with 69 additions and 7 deletions

View file

@ -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());