mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
LibWeb: Remove errant comment from HTMLElement::rendered_text_fragment
This became untrue in a1a740bb3e
.
This commit is contained in:
parent
63bce2b78c
commit
27a4c1eaf6
Notes:
github-actions[bot]
2025-07-28 16:32:40 +00:00
Author: https://github.com/trflynn89
Commit: 27a4c1eaf6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5627
Reviewed-by: https://github.com/gmta ✅
1 changed files with 0 additions and 1 deletions
|
@ -261,7 +261,6 @@ WebIDL::ExceptionOr<void> HTMLElement::set_outer_text(String const& value)
|
|||
GC::Ref<DOM::DocumentFragment> HTMLElement::rendered_text_fragment(StringView input)
|
||||
{
|
||||
// 1. Let fragment be a new DocumentFragment whose node document is document.
|
||||
// Instead of creating a DocumentFragment the nodes are appended directly.
|
||||
auto fragment = realm().create<DOM::DocumentFragment>(document());
|
||||
|
||||
// 2. Let position be a position variable for input, initially pointing at the start of input.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue