LibWeb+LibGfx: Apply editorial punctuation/whitespace/markup fixes

Corresponds to d426109ea1
and fd08f81d06
This commit is contained in:
Sam Atkins 2025-06-24 11:18:14 +01:00 committed by Shannon Booth
commit 423cdd447d
Notes: github-actions[bot] 2025-06-24 15:13:34 +00:00
35 changed files with 108 additions and 103 deletions

View file

@ -2056,6 +2056,7 @@ WebIDL::ExceptionOr<void> Element::insert_adjacent_html(String const& position,
|| (context->document().document_type() == Document::Type::HTML
&& static_cast<Element const&>(*context).local_name() == "html"sv
&& static_cast<Element const&>(*context).namespace_uri() == Namespace::HTML)) {
// then set context to the result of creating an element given this's node document, "body", and the HTML namespace.
context = TRY(create_element(document(), HTML::TagNames::body, Namespace::HTML));
}