qt5base-lts/tests/auto/gui/text
Shawn Rutledge f1e60de665 QTextMarkdownImporter: don't apply text char format to list item block
We want an ordered list item's number to be rendered with default char
format, like the others in the same list, even if the list item's text
begins with a span that has a different char format.  So insert the
list item's block with a default char format first, then change the
char format of the cursor to suit the text that's about to be inserted.
In HTML interpretation, it means the <li> does not have a style, but
contains a styled span.

Fixes: QTBUG-92445
Task-number: QTBUG-3583
Task-number: QTBUG-99148
Pick-to: 5.15 6.2 6.3
Change-Id: I7eb58a8d1171c16503cac01c8cce109d9f12e1af
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2022-01-06 22:06:09 +01:00
..
qabstracttextdocumentlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcssparser tests: Use QT_TESTCASE_SOURCEDIR define 2021-08-11 21:03:56 +02:00
qfont Fix deserializing Qt 5.x fonts through QDataStream 2021-11-18 23:41:02 +01:00
qfontcache QFontCache: don't start cleanup timer if we are not in the main thread 2021-10-01 16:46:48 +02:00
qfontdatabase QFontDatabase (Windows): Sanitize font requests early 2021-12-06 20:06:06 +01:00
qfontmetrics Fix overlapping text for Osaka font on macOS 2021-12-02 07:54:39 +01:00
qglyphrun Fix compiler warning: don't mix signed and unsigned int in comparison 2021-02-11 21:06:00 +01:00
qinputcontrol Remove the qmake project files 2021-01-07 15:32:28 +01:00
qrawfont Fix bug with NoFontMerging when font does not support script 2021-08-19 13:35:40 +02:00
qstatictext Remove QEXPECT_FAIL for tests that pass now on Android 2021-03-31 17:31:12 +02:00
qsyntaxhighlighter Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextblock Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextcursor Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextdocument QTextHtmlParser: fix prefix lookahead and html comments 2021-12-22 15:56:30 +01:00
qtextdocumentfragment Add QTextDocumentFragment::toRawText() 2022-01-06 07:58:39 +01:00
qtextdocumentlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextformat Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextimagehandler Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextlayout Fix cursor positioning on bidi boundaries 2021-10-18 13:05:42 +02:00
qtextlist Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextmarkdownimporter QTextMarkdownImporter: don't apply text char format to list item block 2022-01-06 22:06:09 +01:00
qtextmarkdownwriter Markdown writer: indent fence consistent with code block 2021-10-14 19:57:09 +02:00
qtextobject Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextodfwriter tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
qtextpiecetable Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextscriptengine Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtexttable Don't let text table cells shrink below their minimum width 2021-12-02 15:16:49 +01:00
qzip Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Android: exclude tests crashing at start 2020-11-16 13:35:44 +02:00