diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-05 10:27:59 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-05 10:27:59 +0200 |
commit | 319f0d2d1866516f158f8b7f6b9382f3519fde88 (patch) | |
tree | 1e569a2b7e70497dc0aa72539fb407123ff66d60 /Libraries | |
parent | 0a38e0028f6787160a1b464195380743b2a1adbd (diff) | |
download | serenity-319f0d2d1866516f158f8b7f6b9382f3519fde88.zip |
LibHTML: Render list markers in the same color as text
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibHTML/Layout/LayoutBlock.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibHTML/Layout/LayoutBlock.cpp b/Libraries/LibHTML/Layout/LayoutBlock.cpp index afbbf50cc1..6b22135333 100644 --- a/Libraries/LibHTML/Layout/LayoutBlock.cpp +++ b/Libraries/LibHTML/Layout/LayoutBlock.cpp @@ -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()) { |