From 2f6de5d9ac19cb73920e42a3629b8773584058ad Mon Sep 17 00:00:00 2001 From: "Psychpsyo (Cameron)" <60073468+Psychpsyo@users.noreply.github.com> Date: Wed, 19 Mar 2025 16:21:19 +0100 Subject: [PATCH] LibWeb: Import typo fix from the spec --- Libraries/LibWeb/HTML/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibWeb/HTML/Window.cpp b/Libraries/LibWeb/HTML/Window.cpp index ba3b173f280..231c5138f2e 100644 --- a/Libraries/LibWeb/HTML/Window.cpp +++ b/Libraries/LibWeb/HTML/Window.cpp @@ -1223,7 +1223,7 @@ GC::Ref Window::get_computed_style(DOM::Element& eleme // 1. Parse pseudoElt as a , and let type be the result. auto type = parse_pseudo_element_selector(CSS::Parser::ParsingParams(associated_document()), pseudo_element.value()); - // 2. If type is failure, or is an ::slotted() or ::part() pseudo-element, let obj be null. + // 2. If type is failure, or is a ::slotted() or ::part() pseudo-element, let obj be null. // FIXME: We can't pass a null element to CSSStyleProperties::create_resolved_style() if (!type.has_value()) { }