diff --git a/Libraries/LibWeb/CSS/Parser/PropertyParsing.cpp b/Libraries/LibWeb/CSS/Parser/PropertyParsing.cpp index 37cd55706b5..1277cb343b0 100644 --- a/Libraries/LibWeb/CSS/Parser/PropertyParsing.cpp +++ b/Libraries/LibWeb/CSS/Parser/PropertyParsing.cpp @@ -1050,7 +1050,7 @@ RefPtr Parser::parse_counter_set_value(TokenStream Parser::parse_cursor_value(TokenStream& tokens) { - // #? + // [,]* // = {2}? // So, any number of custom cursor definitions, and then a mandatory cursor name keyword, all comma-separated. diff --git a/Libraries/LibWeb/CSS/Parser/ValueParsing.cpp b/Libraries/LibWeb/CSS/Parser/ValueParsing.cpp index 108fdda8042..619518ba649 100644 --- a/Libraries/LibWeb/CSS/Parser/ValueParsing.cpp +++ b/Libraries/LibWeb/CSS/Parser/ValueParsing.cpp @@ -2282,6 +2282,7 @@ RefPtr Parser::parse_color_mix_function(TokenStream , [ && ? ]#) // FIXME: Update color-mix to accept 1+ colors instead of exactly 2. + // FIXME: is optional in the current spec. auto transaction = tokens.begin_transaction(); tokens.discard_whitespace(); @@ -2529,7 +2530,7 @@ RefPtr Parser::parse_corner_shape_value(TokenStream | infinity | -infinity) + // superellipse() = superellipse( | infinity | -infinity) auto const& function = token.function(); auto context_guard = push_temporary_value_parsing_context(FunctionContext { function.name });