LibWeb: Remove errant comment from HTMLElement::rendered_text_fragment

This became untrue in  a1a740bb3e.
This commit is contained in:
Timothy Flynn 2025-07-28 11:39:56 -04:00 committed by Jelle Raaijmakers
commit 27a4c1eaf6
Notes: github-actions[bot] 2025-07-28 16:32:40 +00:00

View file

@ -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.