Bug 304357

Summary: [testcase] width calculation wrong when CSS property content is set to ""
Product: [Applications] konqueror Reporter: Rolf Eike Beer <kde>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: CSS content testcase

Description Rolf Eike Beer 2012-07-31 20:48:38 UTC
See the first example in the attached testcase, compare it to the second. The first example has a slightly greater spacing between the icons, but the overall width of the grey area is the same, leading to a linebreak. I assume that if the extra spacing would be added to the width the line break would not occur.

If you fix bug 304355 before this: the same applies if you have this in an :after pseudo-element.

Reproducible: Always
Comment 1 Rolf Eike Beer 2012-07-31 20:49:09 UTC
Created attachment 72858 [details]
CSS content testcase
Comment 2 Christoph Cullmann 2024-05-06 18:39:07 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