LibHTML: Render list markers in the same color as text

This commit is contained in:
Andreas Kling 2019-10-05 10:27:59 +02:00
parent 0a38e0028f
commit 319f0d2d18
Notes: sideshowbarker 2024-07-19 11:48:53 +09:00

View file

@ -200,7 +200,8 @@ void LayoutBlock::render(RenderingContext& context)
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()) {