Bug 270546 - [CSS 2.1 Conformance] [testcase] line-height: value less than 3px or 2pt incorrectly rendered
Summary: [CSS 2.1 Conformance] [testcase] line-height: value less than 3px or 2pt inco...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.8.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: testcase, triaged
Depends on:
Blocks:
 
Reported: 2011-04-10 02:44 UTC by Gérard Talbot (no longer involved)
Modified: 2024-05-06 18:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gérard Talbot (no longer involved) 2011-04-10 02:44:22 UTC
Version:           4.6.0 (using KDE 4.6.2) 
OS:                Linux

Similarly to font-size (see bug 113728), Konqueror 4.6.2 can not render appropriately a testcase where line-height has a value lower than 3px or 2pt.



Reproducible: Always

Steps to Reproduce:
URLs of testcases from CSS 2.1 test suite RC6 (March 23rd 2011)
---------------------------------------------------------------

http://test.csswg.org/suites/css2.1/20110323/html4/line-height-002.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-003.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-004.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-005.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-013.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-014.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-015.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-016.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-024.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-026.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-027.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-035.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-037.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-038.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-046.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-047.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-048.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-049.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-057.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-059.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-060.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-068.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-070.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-071.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-079.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-081.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-082.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-091.htm (1%)
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-092.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-093.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-101.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-103.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-104.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-bleed-001.htm
http://test.csswg.org/suites/css2.1/20110323/html4/line-height-bleed-002.htm

All the above are reduced, self-explanatory testcases; most of them test line-height: 0



Konqueror 4.6.1 under KDE 4.6.2 platform, 
Qt 4.7.0, 
i686 (32bits), 
Linux 2.6.35-28-generic-pae

regards, Gérard Talbot
Comment 2 Gérard Talbot (no longer involved) 2012-01-13 06:30:55 UTC
Konqueror 4.7.4 (KHTML rendering engine)

CONFIRMING
Comment 3 Gérard Talbot (no longer involved) 2012-06-20 19:07:29 UTC
The bug still happens in Konqueror 4.8.4, 
with the KHTML rendering engine and 
when rendering engine mode (View/View Document Information Ctrl+I/ Rendering mode) is "Strict" (web standards compliant rendering mode).

Gérard
Comment 4 Christoph Cullmann 2024-05-06 18:38:18 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann