mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb/CSS: Add support for unicode-bidi
property
This commit is contained in:
parent
16f2f6aa42
commit
77761e123d
Notes:
github-actions[bot]
2024-10-07 13:58:14 +00:00
Author: https://github.com/khaledev
Commit: 77761e123d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1618
Reviewed-by: https://github.com/AtkinsSJ ✅
10 changed files with 75 additions and 0 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue