فهرست منبع

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

We are actually setting `onlyAddToElementStack` here. :^)
Andreas Kling 9 ماه پیش
والد
کامیت
7d7f8f1b48
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp

+ 0 - 1
Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp

@@ -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);