Browse Source

LibHTML: Render list markers in the same color as text

Andreas Kling 5 years ago
parent
commit
319f0d2d18
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Libraries/LibHTML/Layout/LayoutBlock.cpp

+ 2 - 1
Libraries/LibHTML/Layout/LayoutBlock.cpp

@@ -200,7 +200,8 @@ void LayoutBlock::render(RenderingContext& context)
             3,
             3,
             3
             3
         };
         };
-        context.painter().fill_rect(bullet_rect, Color::Black);
+
+        context.painter().fill_rect(bullet_rect, style().color_or_fallback("color", Color::Black));
     }
     }
 
 
     if (children_are_inline()) {
     if (children_are_inline()) {