Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.7, 5.8, 5.9
-
None
Description
According to the CSS specs for "line-height" by the W3C, a unit-less line-height value (number without unit) should be used as follows:
The used value of the property is this number multiplied by the element's font size. Negative values are illegal.
Browsers do this correctly, but Qt does not. Qt seems to interpret the line-height value as pixel value.
See attached screenshot and example.
Attachments
Issue Links
- duplicates
-
QTBUG-56848 QTextEdit draws all lines on top of each other when line height specified in html
-
- Closed
-