فهرست منبع

LibWeb: Remove already-fixed FIXME in creates_block_formatting_context()

We're already creating a BFC for children of inline-flex boxes.
Andreas Kling 3 سال پیش
والد
کامیت
e6e00d2a4d
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      Userland/Libraries/LibWeb/Layout/FormattingContext.cpp

+ 0 - 1
Userland/Libraries/LibWeb/Layout/FormattingContext.cpp

@@ -56,7 +56,6 @@ bool FormattingContext::creates_block_formatting_context(const Box& box)
     if (display.is_flow_root_inside())
     if (display.is_flow_root_inside())
         return true;
         return true;
 
 
-    // FIXME: inline-flex as well
     if (box.parent()) {
     if (box.parent()) {
         auto parent_display = box.parent()->computed_values().display();
         auto parent_display = box.parent()->computed_values().display();
         if (parent_display.is_flex_inside()) {
         if (parent_display.is_flex_inside()) {