qt5base-lts/tests/auto/other/qaccessibility
Boris Dušek e6bbfc4d1a Make QAccessibleTextWidget::attributes respect default document font
QTextFormat::font{Weight,PointSize}() etc. return the font trait explicitly
set on the QTextFormat, while QTextFormat::font() returns font which also
uses the QTextDocument::defaultFont() as a default for any font traits not
explicitly set on the QTextFormat. Accessibility support for text attributes
used the former, which was wrong; this commit fixes it to use the latter.

Also includes tests to verify the fix.

Change-Id: Iab7f2be1b68adaad847d1f29c9e5af2195416035
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
2015-02-13 20:53:26 +00:00
..
.gitignore Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
accessiblewidgets.h Update copyright headers 2015-02-11 06:49:51 +00:00
qaccessibility.pro Haiku: Make remaining auto tests compile on Haiku 2015-01-14 05:37:28 +01:00
tst_qaccessibility.cpp Make QAccessibleTextWidget::attributes respect default document font 2015-02-13 20:53:26 +00:00