mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb/CSS: Parse and propagate font-feature-settings property
This commit is contained in:
parent
55812aaed2
commit
95c17dfab5
Notes:
github-actions[bot]
2024-10-02 15:37:38 +00:00
Author: https://github.com/AtkinsSJ
Commit: 95c17dfab5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1599
9 changed files with 129 additions and 1 deletions
|
@ -471,6 +471,8 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
|
|||
computed_values.set_font_variant(maybe_font_variant.release_value());
|
||||
if (auto maybe_font_language_override = computed_style.font_language_override(); maybe_font_language_override.has_value())
|
||||
computed_values.set_font_language_override(maybe_font_language_override.release_value());
|
||||
if (auto maybe_font_feature_settings = computed_style.font_feature_settings(); maybe_font_feature_settings.has_value())
|
||||
computed_values.set_font_feature_settings(maybe_font_feature_settings.release_value());
|
||||
if (auto maybe_font_variation_settings = computed_style.font_variation_settings(); maybe_font_variation_settings.has_value())
|
||||
computed_values.set_font_variation_settings(maybe_font_variation_settings.release_value());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue