Bug 77288 - [test case] KHTML problems with CSS2 table-layout property
Summary: [test case] KHTML problems with CSS2 table-layout property
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 87423 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-11 15:24 UTC by Jörg Afflerbach
Modified: 2004-11-28 01:36 UTC (History)
1 user (show)

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


Attachments
Testcase (2.46 KB, text/html)
2004-03-11 15:26 UTC, Jörg Afflerbach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Afflerbach 2004-03-11 15:24:40 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    SuSE RPMs
OS:          Linux

Konqueror (at least in KDE 3.2.0 and 3.2.1) incorrectly renders the fixed table-layout of CSS2. See attached test case:

The table layouts are fixed, so only the widths of the table cells should matter, not the content.

* A) Konqueror doesn't take 100% of the table width for cell A1. It behaves like
     Mozilla (1.6) here. MSIE (6.0) shows a tiny bar of the A2 cell at the right.

* B) Here everyting works fine with all browsers.

* C) Here Konqueror takes 100% width for cell C2 but also displays the content of cell C2.
     Mozilla even shows the background color of C2. MSIE behaves as in case A.

* D) Here Konqueror takes 100% for cell D2 but doesn't respect the width of cell C1. This
     is the worst case, as all other browsers behave correctly here.

In short: IMHO Opera (7.5) renders all four cases correctly. MSIE 6 almost does it - it just shows the tiny bars at the right of A1 and C1. Mozilla is not very good at this stuff, too.
Comment 1 Jörg Afflerbach 2004-03-11 15:26:27 UTC
Created attachment 5170 [details]
Testcase
Comment 2 Jörg Afflerbach 2004-03-18 12:37:51 UTC
Sorry for the confusing description. Corrections:

* C) Here Konqueror takes 100% width for cell C1.
                                              ^^

* D) [...] takes 100% for cell D2 but doesn't respect the width of cell D1.
                                                                        ^^
Comment 3 Allan Sandfeld 2004-11-06 23:41:11 UTC
You can fix case D to render the same as Mozilla and Opera, by reverting a change from the Safari-merge. 

They distribute percentage first then fixed. If reverted, fixed is distributed and first and excess percentage thereby capped.
Comment 4 Allan Sandfeld 2004-11-22 16:24:00 UTC
*** Bug 87423 has been marked as a duplicate of this bug. ***
Comment 5 Allan Sandfeld 2004-11-28 01:36:29 UTC
CVS commit by carewolf: 

Fixed table layout: Assign fixed width first. 
 (Contains also fixes of debug-output)
BUG: 77288


  M +27 -25    table_layout.cpp   1.40