LibWeb/CSS: Parse mask-repeat property

This commit is contained in:
InvalidUsernameException 2025-07-18 20:36:10 +02:00 committed by Sam Atkins
commit 7c5f1a93ed
Notes: github-actions[bot] 2025-08-06 22:10:53 +00:00
8 changed files with 71 additions and 48 deletions

View file

@ -673,6 +673,10 @@ Parser::ParseErrorOr<NonnullRefPtr<CSSStyleValue const>> Parser::parse_css_value
if (auto parsed_value = parse_comma_separated_value_list(tokens, [this](auto& tokens) { return parse_position_value(tokens); }))
return parsed_value.release_nonnull();
return ParseError::SyntaxError;
case PropertyID::MaskRepeat:
if (auto parsed_value = parse_comma_separated_value_list(tokens, [this, property_id](auto& tokens) { return parse_single_repeat_style_value(property_id, tokens); }))
return parsed_value.release_nonnull();
return ParseError::SyntaxError;
case PropertyID::Opacity:
case PropertyID::FillOpacity:
case PropertyID::FloodOpacity: