mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb/CSS: Implement the font-kerning
property
This sets whether the kerning information stored on the current font is used.
This commit is contained in:
parent
80ea865b19
commit
9b6da84fff
Notes:
github-actions[bot]
2025-06-23 12:28:02 +00:00
Author: https://github.com/tcl3
Commit: 9b6da84fff
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5168
Reviewed-by: https://github.com/AtkinsSJ ✅
17 changed files with 108 additions and 20 deletions
|
@ -1252,6 +1252,12 @@ Variant<VerticalAlign, LengthPercentage> ComputedProperties::vertical_align() co
|
|||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
FontKerning ComputedProperties::font_kerning() const
|
||||
{
|
||||
auto const& value = property(PropertyID::FontKerning);
|
||||
return keyword_to_font_kerning(value.to_keyword()).release_value();
|
||||
}
|
||||
|
||||
Optional<FlyString> ComputedProperties::font_language_override() const
|
||||
{
|
||||
auto const& value = property(PropertyID::FontLanguageOverride);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue