LibWeb/CSS: Add parsing for <opentype-tag>

This is a special form of `<string>` so doesn't need its own style value
type. It's used in a couple of font-related properties. For completeness
it's included in ValueType.
This commit is contained in:
Sam Atkins 2024-09-30 14:38:17 +01:00 committed by Sam Atkins
commit cd13b30fb8
Notes: github-actions[bot] 2024-10-02 15:37:57 +00:00
4 changed files with 37 additions and 1 deletions

View file

@ -265,6 +265,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<CSSStyleValue> parse_dimension_value(TokenStream<ComponentValue>&);
RefPtr<CSSStyleValue> parse_angle_value(TokenStream<ComponentValue>&);