Bug 73180 - [test case] <div> borders print incorrectly
Summary: [test case] <div> borders print incorrectly
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml printing (show other bugs)
Version: 4.8.90 (beta2)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-21 23:18 UTC by Dik Takken
Modified: 2024-05-06 20:57 UTC (History)
0 users

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


Attachments
Testcase (275 bytes, text/html)
2004-01-21 23:18 UTC, Dik Takken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dik Takken 2004-01-21 23:18:18 UTC
Version:           3.2 rc1 (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
OS:          Linux

Try generating a printing preview of the attached testcase. All four borders of the <div> are printed in stead of only the bottom border.
Comment 1 Dik Takken 2004-01-21 23:18:54 UTC
Created attachment 4281 [details]
Testcase
Comment 2 Dik Takken 2004-05-11 14:48:38 UTC
Problem is still present in KDE 3.2.2
Comment 3 Dik Takken 2004-07-23 13:43:02 UTC
... And in KDE 3.3 Beta 1...
Comment 4 Leo Savernik 2004-08-27 12:06:02 UTC
Confirmed. In 3.3.0, too.
Comment 5 Kurt Pfeifle 2007-01-06 01:42:25 UTC
Re-Confirmed for 3.5.5.
Comment 6 Janek Bevendorff 2012-06-19 16:59:27 UTC
I can still reproduce this issue. Although KDE4 has no printing preview anymore (and Konqueror doesn't provide one either), I can print to a PDF. All four borders are visible in the printout.

I'm not sure, however, if this is really a bug. Firefox only prints the bottom border, but Chromium (Webkit) also prints all four borders. I don't know if having zero-width borders is a specified case in the CSS spec.
But of course, printing something that isn't shown on screen is a bit weird, though.
Comment 7 Christoph Cullmann 2024-05-06 20:57:27 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