Bug 274530

Summary: [CSS 2.1 Conformance] [testcase] border of abs. pos. container of a table border-collapse should not collapse
Product: [Applications] konqueror Reporter: Gérard Talbot (no longer involved) <browserbugs2>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal Keywords: testcase
Priority: NOR    
Version: 4.7.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gérard Talbot (no longer involved) 2011-05-30 17:30:53 UTC
Version:           4.6.3 (using KDE 4.6.3) 
OS:                Linux

When a border of an absolutely positioned container of a table with 'border-collapse: collapse' is half (50%) or less than the resulting border of its table, then it is unexpectedly and incorrectly collapsed with the resulting collapsed border of the table.

This particular webpage condition is somewhat also related to bug 267854. It seems that bug 267854 and this bug are 2 external signs of the same incorrect 'border-collapse: collapse' implementation.

Reproducible: Always

Steps to Reproduce:
2 testcases
-----------

A) http://test.csswg.org/suites/css2.1/20110323/html4/border-collapse-offset-001.htm (RC6)

B) http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/border-collapse-offset-001a.html

Actual Results:  
A) half of the green border (2px) disappears

B) there is no filled green square

Expected Results:  
A) the whole green border (4px) should appear: 
http://test.csswg.org/suites/css2.1/20110323/html4/border-collapse-offset-001-ref.htm

B) there should be a filled green square

Firefox 4.0.1, Opera 11.11, Chrome 11.0.696.71 and IE9 pass both http://test.csswg.org/suites/css2.1/20110323/html4/border-collapse-offset-001.htm (RC6) 
and 
http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/border-collapse-offset-001a.html
testcases.

Konqueror 4.6.3
KDE 4.6.3
Linux (i686) release 2.6.38-9-generic-pae
Qt 4.7.2
here.

regards, Gérard
Comment 1 Gérard Talbot (no longer involved) 2012-01-13 06:35:02 UTC
Konqueror 4.7.4 (KHTML rendering engine)

CONFIRMING
Comment 2 Christoph Cullmann 2024-05-06 18:39:05 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