mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb/CSS: Parse and propagate font-variation-settings property
This commit is contained in:
parent
1a127c9d37
commit
55812aaed2
Notes:
github-actions[bot]
2024-10-02 15:37:43 +00:00
Author: https://github.com/AtkinsSJ
Commit: 55812aaed2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1599
8 changed files with 102 additions and 2 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_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());
|
||||
|
||||
auto border_bottom_left_radius = computed_style.property(CSS::PropertyID::BorderBottomLeftRadius);
|
||||
if (border_bottom_left_radius->is_border_radius()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue