LibWeb/CSS: Parse and propagate font-feature-settings property

This commit is contained in:
Sam Atkins 2024-10-01 09:37:43 +01:00 committed by Sam Atkins
commit 95c17dfab5
Notes: github-actions[bot] 2024-10-02 15:37:38 +00:00
9 changed files with 129 additions and 1 deletions

View file

@ -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());