mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-06 09:01:53 +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
|
@ -2543,7 +2543,7 @@ RefPtr<CSSStyleValue const> Parser::parse_font_value(TokenStream<ComponentValue>
|
|||
|
||||
// Reset implicitly https://drafts.csswg.org/css-fonts/#reset-implicitly
|
||||
PropertyID::FontFeatureSettings,
|
||||
// FIXME: PropertyID::FontKerning,
|
||||
PropertyID::FontKerning,
|
||||
PropertyID::FontLanguageOverride,
|
||||
// FIXME: PropertyID::FontOpticalSizing,
|
||||
// FIXME: PropertyID::FontSizeAdjust,
|
||||
|
@ -2560,12 +2560,12 @@ RefPtr<CSSStyleValue const> Parser::parse_font_value(TokenStream<ComponentValue>
|
|||
line_height.release_nonnull(),
|
||||
|
||||
// Reset implicitly
|
||||
initial_value, // font-feature-settings
|
||||
// FIXME: font-kerning,
|
||||
initial_value, // font-language-override
|
||||
// FIXME: font-optical-sizing,
|
||||
// FIXME: font-size-adjust,
|
||||
initial_value, // font-variation-settings
|
||||
initial_value, // font-feature-settings
|
||||
property_initial_value(PropertyID::FontKerning), // font-kerning,
|
||||
initial_value, // font-language-override
|
||||
// FIXME: font-optical-sizing,
|
||||
// FIXME: font-size-adjust,
|
||||
initial_value, // font-variation-settings
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue