qt6-bb10/tests/auto/gui/text
Sona Kurazyan 81459dd9c0 Copy formatting attributes when cloning an empty QTextDocument
When cloning a QTextDocument, the text fragment of the original document
is copied into the new one, which results into copying also the
formatting attributes. However, when the text document is empty, the
corresponding text fragment is also empty, so nothing is copied.

If we want to transfer the formatting attributes for an empty document,
we need to set them explicitly.

Fixes: QTBUG-80399
Change-Id: I382cd0821723436120af47c06ec7bfa849636307
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2019-12-05 17:34:02 +01:00
..
qabstracttextdocumentlayout
qcssparser Support missing white-space:pre-line CSS 2019-08-12 17:24:05 +01:00
qfont Merge remote-tracking branch 'origin/5.13' into 5.14 2019-11-06 11:41:19 +01:00
qfontcache Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qfontdatabase Merge remote-tracking branch 'origin/5.13' into dev 2019-05-27 15:34:10 +02:00
qfontmetrics
qglyphrun unblacklist passing tests 2019-07-08 11:01:42 +00:00
qinputcontrol
qrawfont
qstatictext Prefix QTextStream operators with Qt:: in tests 2019-05-03 09:36:36 +00:00
qsyntaxhighlighter
qtextblock
qtextcursor
qtextdocument Copy formatting attributes when cloning an empty QTextDocument 2019-12-05 17:34:02 +01:00
qtextdocumentfragment Fix assert in QTextDocument CSS parser on "border-width: 1pt" 2019-12-03 17:54:24 +01:00
qtextdocumentlayout unblacklist passing tests 2019-07-08 11:01:42 +00:00
qtextformat
qtextlayout Enable cursor in ligature test on Windows 2019-10-21 09:01:26 +02:00
qtextlist Tests: Fix some warnings about deprecated functions not under test 2019-05-27 15:29:16 +02:00
qtextmarkdownimporter QTextMarkdownWriter: preserve empty lists 2019-11-05 16:40:18 +02:00
qtextmarkdownwriter QTextMarkdownWriter: preserve empty lists 2019-11-05 16:40:18 +02:00
qtextobject
qtextodfwriter
qtextpiecetable
qtextscriptengine
qtexttable QTextDocument: add css-styling of table cell borders to HTML import/export 2019-08-19 20:59:12 +02:00
qzip
text.pro Markdown: fix several issues with lists and continuations 2019-05-08 20:28:28 +00:00