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.
Created attachment 4281 [details] Testcase
Problem is still present in KDE 3.2.2
... And in KDE 3.3 Beta 1...
Confirmed. In 3.3.0, too.
Re-Confirmed for 3.5.5.
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.
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