Skip to content

Commit

Permalink
LibWeb/DOM: Update a spec comment in Range::create_contextual_fragment()
Browse files Browse the repository at this point in the history
Corresponds to whatwg/html#10732

(cherry picked from commit 1777ddc5e2647d43e65d92da2203fb295ff7a92e)
  • Loading branch information
AtkinsSJ authored and nico committed Nov 11, 2024
1 parent b74d119 commit f913b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/Libraries/LibWeb/DOM/Range.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ JS::NonnullGCPtr<Geometry::DOMRect> Range::get_bounding_client_rect()
// https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-range-createcontextualfragment
WebIDL::ExceptionOr<JS::NonnullGCPtr<DocumentFragment>> 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> node = *start_container();
Expand Down

0 comments on commit f913b21

Please sign in to comment.