summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qoffscreensurface.h
diff options
context:
space:
mode:
authorJoni Poikelin <joni.poikelin@qt.io>2017-02-15 08:59:23 +0200
committerJoni Poikelin <joni.poikelin@qt.io>2017-04-21 07:10:51 +0000
commitecf440d89dcbf422f78fdf8e88fbcacd0108560c (patch)
treecaa96e5172a0bbde83b8662a978ee9be0d185ad0 /src/gui/kernel/qoffscreensurface.h
parent6ac4f2ccefd71c01e3a7f48d4f73c389de53a6dc (diff)
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>
Diffstat (limited to 'src/gui/kernel/qoffscreensurface.h')
0 files changed, 0 insertions, 0 deletions