qt6-bb10/tests/baseline
Shawn Rutledge 7f48c79627 Draw list bullets/numbers with CSS text color, not palette color
When CSS has been used to customize the text color, render the bullet
with the same color. This is consistent with web browsers, and with
Qt Quick rendering.

In QTextDocumentLayoutPrivate::drawListItem(), the pen color is the
text color, so use it instead of brush color.

Add a baseline test for lancelot: the background and general text
are customized, then some list items are customized further, and
some of them have colored text spans. Repeat with different styles
of numbered and bullet lists and checklists.

Fixes: QTBUG-2188
Task-number: QTBUG-213
Task-number: QTBUG-57833
Pick-to: 6.5 6.7
Change-Id: I71e84d00172e4b37aef57c8badd2ec43c10113d9
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
2024-04-19 04:13:32 -07:00
..
painting Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
shared Baseline tests: improve focus setting and clearing 2024-04-17 21:17:34 +02:00
stylesheet StyleSheet: respect a font weight set for header sections 2024-04-11 04:35:22 +02:00
text Draw list bullets/numbers with CSS text color, not palette color 2024-04-19 04:13:32 -07:00
widgets Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Fix build without PDF 2024-02-25 21:40:47 +00:00