LibWeb/CSS: Adjust grammar definitions

Corresponds to:
e2903b127e
1b4ea44fc8
This commit is contained in:
Sam Atkins 2025-07-08 09:59:05 +01:00 committed by Tim Ledbetter
parent b87e01e304
commit d9aeffa302
Notes: github-actions[bot] 2025-07-08 09:26:02 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -1705,7 +1705,7 @@ RefPtr<CSSStyleValue const> Parser::parse_color_function(TokenStream<ComponentVa
RefPtr<CSSStyleValue const> Parser::parse_color_mix_function(TokenStream<ComponentValue>& tokens)
{
auto parse_color_interpolation_method = [this](TokenStream<ComponentValue>& function_tokens) -> Optional<ColorMixStyleValue::ColorInterpolationMethod> {
// <rectangular-color-space> = srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | xyz | xyz-d50 | xyz-d65
// <rectangular-color-space> = srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | <xyz-space>
// <polar-color-space> = hsl | hwb | lch | oklch
// <custom-color-space> = <dashed-ident>
// <hue-interpolation-method> = [ shorter | longer | increasing | decreasing ] hue