qt5base-lts/tests/auto/gui/text
Joni Poikelin ecf440d89d Fix CSS line-height property multiplier value handling
CSS style such as "line-height: 1.5;" should be used as a multiplier,
but Qt uses it as percentage which makes line spacing way too small. To
workaround this, convert it to percent and use as
QTextBlockFormat::ProportionalHeight instead.

[ChangeLog][QtGui][Important Behvior Changes] Changed CSS line-height
property with multiplier to follow CSS spec

Task-number: QTBUG-56848
Task-number: QTCREATORBUG-17683
Change-Id: Icc98f7c0d4d07542a220702c287f23fa450ef875
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2017-04-21 07:10:51 +00:00
..
qabstracttextdocumentlayout Make imageAt and formatAt more robus against different font metrics 2016-08-12 03:59:23 +00:00
qcssparser Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
qfont Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qfontcache Avoid synthesizing stretch on condensed font families 2016-08-15 11:39:44 +00:00
qfontdatabase Ensure that tst_QFontDatabase::addAppFont() tests the whole path to an engine 2017-03-31 09:45:39 +00:00
qfontmetrics Fix tst_QFontMetrics::elidedMultiLengthF with some fonts 2017-02-02 15:10:27 +00:00
qglyphrun Accept error margin in QGlyphRun/QStaticText test for decorations 2017-02-02 15:10:41 +00:00
qinputcontrol Accept all formatting characters as valid input 2017-01-26 10:59:49 +00:00
qrawfont Added capHeight() to QRawFont and QFontMetrics(F) 2016-08-15 18:27:06 +00:00
qstatictext Accept error margin in QGlyphRun/QStaticText test for decorations 2017-02-02 15:10:41 +00:00
qsyntaxhighlighter Updated license headers 2016-01-21 18:55:18 +00:00
qtextblock Updated license headers 2016-01-21 18:55:18 +00:00
qtextcursor Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
qtextdocument Fix CSS line-height property multiplier value handling 2017-04-21 07:10:51 +00:00
qtextdocumentfragment Updated license headers 2016-01-21 18:55:18 +00:00
qtextdocumentlayout Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
qtextformat QTextFormatCollection: replace copy ctor and op= with clear() 2017-02-23 18:11:55 +00:00
qtextlayout Merge remote-tracking branch 'origin/5.6' into 5.7 2016-11-15 09:58:16 +01:00
qtextlist Updated license headers 2016-01-21 18:55:18 +00:00
qtextobject Updated license headers 2016-01-21 18:55:18 +00:00
qtextodfwriter Updated license headers 2016-01-21 18:55:18 +00:00
qtextpiecetable Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qtextscriptengine Adjust some tests to pass with latest HB-NG changes 2017-02-02 15:10:37 +00:00
qtexttable Updated license headers 2016-01-21 18:55:18 +00:00
qzip update testdata 2016-08-31 10:00:29 +00:00
text.pro Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00