LibWeb: Remove outdated FIXME in "in body" insertion mode

We are actually setting `onlyAddToElementStack` here. :^)
This commit is contained in:
Andreas Kling 2024-11-04 10:42:34 +01:00 committed by Andreas Kling
parent 49b88fc095
commit 7d7f8f1b48
Notes: github-actions[bot] 2024-11-05 11:30:28 +00:00

View file

@ -2675,7 +2675,6 @@ void HTMLParser::handle_in_body(HTMLToken& token)
// Adjust foreign attributes for the token. (This fixes the use of namespaced attributes, in particular XLink in SVG.)
adjust_foreign_attributes(token);
// FIXME: We are not setting the 'onlyAddToElementStack' flag here.
// Insert a foreign element for the token, with SVG namespace and false.
(void)insert_foreign_element(token, Namespace::SVG, OnlyAddToElementStack::No);