Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
4.7.2
-
Windows
Ubuntu 12.04
Description
Set the following html text in a QTextBrowser
<ul> <li><span style='font-size:5px'>really small text</span> first item</li> <li> <span style='font-size:5px'>really small text</span> second item</li> </ul>
The two bulleted items should show identically, but they don't.
You will see that when viewed the bullet in the first item has had the style "font-size:5px" applied to it even though that style was declared in a later tag!. In the second list item by putting a character between "<li>" and "<span" you avoid the bug.
I have encountered this bug quite a few times when displaying html pages in a qtextbrowser when tags are right beside each other not only with <li> tags, but it's the only example I have at the moment.