LibWeb/CSS: Add support for unicode-bidi property

This commit is contained in:
Khaled Lakehal 2024-10-03 21:09:29 +02:00 committed by Sam Atkins
commit 77761e123d
Notes: github-actions[bot] 2024-10-07 13:58:14 +00:00
10 changed files with 75 additions and 0 deletions

View file

@ -896,6 +896,9 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
if (auto direction = computed_style.direction(); direction.has_value())
computed_values.set_direction(direction.value());
if (auto unicode_bidi = computed_style.unicode_bidi(); unicode_bidi.has_value())
computed_values.set_unicode_bidi(unicode_bidi.value());
if (auto scrollbar_width = computed_style.scrollbar_width(); scrollbar_width.has_value())
computed_values.set_scrollbar_width(scrollbar_width.value());