Bug 304357 - [testcase] width calculation wrong when CSS property content is set to ""
Summary: [testcase] width calculation wrong when CSS property content is set to ""
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.8.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-31 20:48 UTC by Rolf Eike Beer
Modified: 2024-05-06 18:39 UTC (History)
0 users

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


Attachments
CSS content testcase (3.54 KB, text/html)
2012-07-31 20:49 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
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