From 3b36ca2711c18061207a1610fe0f80ea23d554ef Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Thu, 31 Oct 2024 16:49:43 +0000 Subject: [PATCH] LibWeb/CSS: Update a FIXME that's completed elsewhere --- Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp index c5ddd476e13..b91a5484da8 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp @@ -540,8 +540,9 @@ Variant Parser::consume_a_qualif rule.declarations = move(first.get>()); } - // FIXME: If any remaining items of child rules are lists of declarations, replace them with nested declarations rules - // containing the list as its sole child. Assign child rules to rule’s child rules. + // If any remaining items of child rules are lists of declarations, replace them with nested declarations rules + // containing the list as its sole child. Assign child rules to rule’s child rules. + // NOTE: We do this later, when converting the QualifiedRule to a CSSRule type. // If rule is valid in the current context, return it; otherwise return an invalid rule error. if (is_valid_in_the_current_context(rule))