LibWeb: Parse the CSS scrollbar-width property

This commit is contained in:
Aliaksandr Kalenik 2024-02-27 09:37:18 +01:00 committed by Tim Flynn
parent c74fc4c171
commit 8d9e20cb03
Notes: sideshowbarker 2024-07-17 05:00:08 +09:00
7 changed files with 37 additions and 0 deletions

View file

@ -835,6 +835,9 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
computed_values.set_object_position(computed_style.object_position());
if (auto scrollbar_width = computed_style.scrollbar_width(); scrollbar_width.has_value())
computed_values.set_scrollbar_width(scrollbar_width.value());
propagate_style_to_anonymous_wrappers();
}