From 1777ddc5e2647d43e65d92da2203fb295ff7a92e Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 8 Nov 2024 11:14:33 +0000 Subject: [PATCH] LibWeb/DOM: Update a spec comment in Range::create_contextual_fragment() Corresponds to https://github.com/whatwg/html/pull/10732 --- Userland/Libraries/LibWeb/DOM/Range.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/DOM/Range.cpp b/Userland/Libraries/LibWeb/DOM/Range.cpp index 137c18b4ca95..657b518fd9fd 100644 --- a/Userland/Libraries/LibWeb/DOM/Range.cpp +++ b/Userland/Libraries/LibWeb/DOM/Range.cpp @@ -1258,7 +1258,7 @@ JS::NonnullGCPtr Range::get_bounding_client_rect() // https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-range-createcontextualfragment WebIDL::ExceptionOr> Range::create_contextual_fragment(String const& string) { - // FIXME: Let compliantString be the result of invoking the Get Trusted Type compliant string algorithm with TrustedHTML, this's relevant global object, string, and "Range createContextualFragment". + // FIXME: 1. Let compliantString be the result of invoking the Get Trusted Type compliant string algorithm with TrustedHTML, this's relevant global object, string, "Range createContextualFragment", and "script". // 2. Let node be this's start node. JS::NonnullGCPtr node = *start_container();