qt5base-lts/tests/auto/gui
Eskil Abrahamsen Blomfeldt 35579f6fe7 Support empty inline elements in block tags in QTextDocument
This fixes the following case:

<blockquote>
<span />Foobar
</blockquote>

Qt would see the end of <span>, and consider the current block
tag as closed, thus resetting the block format, thus losing the
margin set for the current block (due to blockquote).

If you do

<blockquote>
<span>Foo</span>Foobar
</blockquote>

instead, then the same would not happen, since hasBlock is set
to false when we append text to the current inline node.

[ChangeLog][QTextDocument] Add support for empty inline elements
in block tags.

Task-number: QTBUG-33336
Change-Id: Ic566edfec96cb8d44d1c02932bb195bc921d1580
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2014-02-05 09:10:25 +01:00
..
image Ensure QImage::pixel() on RGB32 images returns valid QRgb values 2014-01-29 19:41:57 +01:00
itemmodels expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
kernel Fix MSVC-warnings about double to float truncation. 2014-01-24 20:26:39 +01:00
math3d Add operator[] to QVectorND classes 2013-08-27 17:50:40 +02:00
painting Tests for semi transparent blend on opaque formats 2014-01-29 00:18:15 +01:00
qopengl Add takeTexture() to QOpenGLFramebufferObject 2014-01-07 13:04:18 +01:00
text Support empty inline elements in block tags in QTextDocument 2014-02-05 09:10:25 +01:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00