summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-05 10:27:59 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-05 10:27:59 +0200
commit319f0d2d1866516f158f8b7f6b9382f3519fde88 (patch)
tree1e569a2b7e70497dc0aa72539fb407123ff66d60 /Libraries
parent0a38e0028f6787160a1b464195380743b2a1adbd (diff)
downloadserenity-319f0d2d1866516f158f8b7f6b9382f3519fde88.zip
LibHTML: Render list markers in the same color as text
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibHTML/Layout/LayoutBlock.cpp3
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()) {