mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibHTML: Render list markers in the same color as text
This commit is contained in:
parent
0a38e0028f
commit
319f0d2d18
Notes:
sideshowbarker
2024-07-19 11:48:53 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/319f0d2d186
1 changed files with 2 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue