diff --git a/Libraries/LibWeb/HTML/HTMLElement.cpp b/Libraries/LibWeb/HTML/HTMLElement.cpp
index f31113f229e..ebdb67e86b7 100644
--- a/Libraries/LibWeb/HTML/HTMLElement.cpp
+++ b/Libraries/LibWeb/HTML/HTMLElement.cpp
@@ -261,7 +261,6 @@ WebIDL::ExceptionOr HTMLElement::set_outer_text(String const& value)
GC::Ref 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(document());
// 2. Let position be a position variable for input, initially pointing at the start of input.