mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 05:09:01 +00:00
LibWeb/DOM: Update a spec comment in Range::create_contextual_fragment()
Corresponds to https://github.com/whatwg/html/pull/10732
This commit is contained in:
parent
635d4842d1
commit
1777ddc5e2
Notes:
github-actions[bot]
2024-11-08 16:20:29 +00:00
Author: https://github.com/AtkinsSJ
Commit: 1777ddc5e2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2222
Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 1 additions and 1 deletions
|
@ -1258,7 +1258,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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue