qt5base-lts/tests/auto/gui/text/qtextdocument
Andy Shaw 2e4a107e7e Ensure that CSS rules are inherited from the parent tags
When CSS is set in a head tag then it was not being inherited by the child
tags when the CSS specification indicates that the properties are in fact
inherited. This ensures that those properties are inherited and the non
inheritable ones are unchanged.

A test is added to cover the different situations with inheritance and a
fix is done for the QTextDocumentFragment test which was passing despite
having incorrect defaults.

Task-number: QTBUG-28770
Task-number: QTBUG-34153
Change-Id: I55966240845a885852a04ecb82c61926dea9f800
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2015-03-25 11:55:47 +00:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
common.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtextdocument.pro QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
test.css Ensure that CSS rules are inherited from the parent tags 2015-03-25 11:55:47 +00:00
tst_qtextdocument.cpp Ensure that CSS rules are inherited from the parent tags 2015-03-25 11:55:47 +00:00