LibWeb/CSS: Add FontSourceStyleValue

This will be used by the `@font { src: ... }` descriptor once we parse
descriptors as style values.
This commit is contained in:
Sam Atkins 2025-04-02 17:01:16 +01:00
commit 60c536bdd5
Notes: github-actions[bot] 2025-04-04 09:42:16 +00:00
8 changed files with 186 additions and 0 deletions

View file

@ -341,6 +341,7 @@ private:
RefPtr<PositionStyleValue> parse_position_value(TokenStream<ComponentValue>&, PositionParsingMode = PositionParsingMode::Normal);
RefPtr<CSSStyleValue> parse_filter_value_list_value(TokenStream<ComponentValue>&);
RefPtr<StringStyleValue> parse_opentype_tag_value(TokenStream<ComponentValue>&);
RefPtr<FontSourceStyleValue> parse_font_source_value(TokenStream<ComponentValue>&);
RefPtr<CSSStyleValue> parse_angle_value(TokenStream<ComponentValue>&);
RefPtr<CSSStyleValue> parse_angle_percentage_value(TokenStream<ComponentValue>&);