qt6-bb10/tests/auto/gui/text
Shawn Rutledge 60aeeb0e92 QTextHtmlImporter: don't forget to appendBlock after block tag closed
If we see a closing tag that really demands a new block after it,
like </ul>, that needs to be done even if some ignorable whitespace
and "inline" tags come after it. Don't get distracted by those.

Also add a comment in QTextDocument::setHtml() to remind the reader that
HTML parsing is a two-pass algorithm.

Pick-to: 6.6 6.7
Fixes: QTBUG-81662
Change-Id: If723c9d3c211a684725055a06bcf87be4e38923a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2024-03-01 08:01:45 -07:00
..
qabstracttextdocumentlayout Change license for tests files 2024-02-04 09:56:42 +01:00
qcssparser Change license for tests files 2024-02-04 09:56:42 +01:00
qfont Change license for tests files 2024-02-04 09:56:42 +01:00
qfontcache Change license for tests files 2024-02-04 09:56:42 +01:00
qfontdatabase Change license for tests files 2024-02-04 09:56:42 +01:00
qfontmetrics Change license for tests files 2024-02-04 09:56:42 +01:00
qglyphrun Change license for tests files 2024-02-04 09:56:42 +01:00
qinputcontrol Change license for tests files 2024-02-04 09:56:42 +01:00
qrawfont Change license for tests files 2024-02-04 09:56:42 +01:00
qstatictext Change license for tests files 2024-02-04 09:56:42 +01:00
qsyntaxhighlighter Change license for tests files 2024-02-04 09:56:42 +01:00
qtextblock Change license for tests files 2024-02-04 09:56:42 +01:00
qtextcursor Change license for tests files 2024-02-04 09:56:42 +01:00
qtextdocument Change license for tests files 2024-02-04 09:56:42 +01:00
qtextdocumentfragment QTextHtmlImporter: don't forget to appendBlock after block tag closed 2024-03-01 08:01:45 -07:00
qtextdocumentlayout Change license for tests files 2024-02-04 09:56:42 +01:00
qtextformat Change license for tests files 2024-02-04 09:56:42 +01:00
qtextimagehandler Change license for tests files 2024-02-04 09:56:42 +01:00
qtextlayout Change license for tests files 2024-02-04 09:56:42 +01:00
qtextlist Change license for tests files 2024-02-04 09:56:42 +01:00
qtextmarkdownimporter Add tst_QTextMarkdownImporter::paragraphs 2024-02-29 13:49:27 -07:00
qtextmarkdownwriter tst_QTextMarkdownWriter: test both ways of setting font characteristics 2024-02-14 18:36:42 -07:00
qtextobject Change license for tests files 2024-02-04 09:56:42 +01:00
qtextodfwriter Change license for tests files 2024-02-04 09:56:42 +01:00
qtextpiecetable Change license for tests files 2024-02-04 09:56:42 +01:00
qtextscriptengine Change license for tests files 2024-02-04 09:56:42 +01:00
qtexttable Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Move QZipReader/Writer from QtGui to QtCore 2023-04-26 12:01:05 +02:00