Bug 68394 - [test case] Konqueror CSS "padding" rendering problems (regression)
Summary: [test case] Konqueror CSS "padding" rendering problems (regression)
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 70201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-16 22:24 UTC by Andre Eisenbach
Modified: 2004-01-11 22:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Testcase for KDE padding bugs (1.54 KB, text/html)
2003-11-16 22:25 UTC, Andre Eisenbach
Details
breaks plone. here is what I see: (6.85 KB, image/png)
2003-11-25 17:01 UTC, Denys Duchier
Details
another testcase (modeled after www.mandrakeclub.com) (773 bytes, text/html)
2003-12-05 00:46 UTC, Magnus Kessler
Details
6 simple padding testcases (657 bytes, text/html)
2004-01-07 21:05 UTC, Derick Swanepoel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Eisenbach 2003-11-16 22:24:27 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.3 

Konqueror in KDE 3.1.93 (beta 1) does not render elements with padding correctly anymore. This affects many many websites and makes some of them unusable.

Two of the biggest problems:

1) When padding is applied to a link, the bounding box isn't expanded to fit. This will break the document layout and make the rendered text leave the bounding box.

2) When padding is applied to a legend element, the legend will no longer be positioned in the actual fieldset frame, but somehow be moved inside the fieldset.
This problem does NOT occur when a smaller value is selected for padding (3px for example).

See testcase attachment for examples.
Comment 1 Andre Eisenbach 2003-11-16 22:25:02 UTC
Created attachment 3250 [details]
Testcase for KDE padding bugs
Comment 2 Stephan Kulow 2003-11-24 13:02:15 UTC
I think, it's a duplicate though
Comment 3 Denys Duchier 2003-11-25 17:01:49 UTC
Created attachment 3400 [details]
breaks plone. here is what I see:

I ran into this bug when visiting my plone site.  Below is the html
file corresponding to the PNG attachment.

<html>
<head>
<title>Foo</title>
<style type="text/css">
a { background: #CDE2A7; }
a.with { padding:2em; }
</style>
</head>
<body>
<a>Without Padding</a><br><br><br>
<a class="with">With Padding</a>
</body>
</html>
Comment 4 James Ots 2003-11-26 13:43:02 UTC
See also bug #44092
Comment 5 Magnus Kessler 2003-12-05 00:46:11 UTC
Created attachment 3562 [details]
another testcase (modeled after www.mandrakeclub.com)

still present in today's (04.Dec.2003) CVS. Breaks http://www.mandrakeclub.com
Comment 6 Stephan Kulow 2003-12-12 12:49:48 UTC
*** Bug 70201 has been marked as a duplicate of this bug. ***
Comment 7 Derick Swanepoel 2004-01-07 21:05:53 UTC
Created attachment 4030 [details]
6 simple padding testcases

Same thing here with 3.1.94. Left and right padding are not included in the
size of inline elements, causing their text to extend past their boundaries.
From the testcases it seems that only enough space is allocated for the actual
text, not including left/right padding. Attached are some of my own testcases.
Comment 8 Dirk Mueller 2004-01-11 16:31:12 UTC
fixed by ggarend yesterday
Comment 9 Sean Lynch 2004-01-11 22:16:56 UTC
Its great to see this one fixed, as it was a problem on so many sites.  I did notice that this test case (http://bugs.kde.org/attachment.cgi?id=3250&action=view) is still slightly broken.  The part where is says Legend wrapped with the legend tags.  Its missing the line on the left of the word Legend, and the text might be over to the right a little.