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
|
@ -1189,6 +1189,12 @@ Optional<CSS::Direction> StyleProperties::direction() const
|
|||
return keyword_to_direction(value->to_keyword());
|
||||
}
|
||||
|
||||
Optional<CSS::UnicodeBidi> StyleProperties::unicode_bidi() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::UnicodeBidi);
|
||||
return keyword_to_unicode_bidi(value->to_keyword());
|
||||
}
|
||||
|
||||
Optional<CSS::MaskType> StyleProperties::mask_type() const
|
||||
{
|
||||
auto value = property(CSS::PropertyID::MaskType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue