From fa05c99b22862cb4997e9298f57a35e0382d9eda Mon Sep 17 00:00:00 2001 From: stelar7 Date: Sun, 8 May 2022 01:03:32 +0200 Subject: [PATCH] =?UTF-8?q?LibWeb:=20Commit=20transaction=20after=20parsin?= =?UTF-8?q?g=20`'+'=3F=E2=80=A0=20n=20`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp index 04f303b330..17f95c4eb0 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp @@ -5425,6 +5425,7 @@ Optional Parser::parse_a_n_plus_b_patt // '+'?† n if (is_signed_integer(values.peek_token())) { int b = values.next_token().token().to_integer(); + transaction.commit(); return Selector::SimpleSelector::ANPlusBPattern { 1, b }; }