Summary: | [CSS 2.1 Conformance] border-collapse does not and should not involve border of a table caption | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Gérard Talbot (no longer involved) <browserbugs2> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | kde |
Priority: | NOR | Keywords: | testcase, triaged |
Version First Reported In: | 4.8.4 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
URL: | http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/bug267854-border-collapse-vs-caption.html | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Gérard Talbot (no longer involved)
2011-03-07 06:40:42 UTC
A much better, reduced and accurate testcase for this bug is: http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/bug267854-border-collapse-vs-caption.html regards, Gérard Also http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/bug267854-border-collapse-vs-caption-2.html Gérard " If border styles differ only in color, then a style set on a cell wins over one on a row, which wins over a row group, column, column group and, lastly, table. " CSS 2.1, section 17.6.2.1 Border conflict resolution http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution As you can notice, table-caption is not listed in the precedence ("wins over") rules; so table-caption does not participate, is not involved in border conflict resolution. Gérard 1- The subtile effect of this bug can be noticed in webpage situations where the descenders' letters (g, j, p, q, y) of a test in the caption block box are overlapped by the table box's collapsed border-top. 2- http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/bug267854-border-collapse-vs-caption.html and http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/bug267854-border-collapse-vs-caption-2.html cover cases of border collapsing of table box's border-top and table cell's (of topmost row) border-top with border-bottom of caption but border collapsing can occur with the involvement of border collapsed table row, table row group, table column, table column group. And caption can be placed at caption-side: top or caption-side: bottom. So, at least 8 additional testcases would be needed to make sure this bug gets fixed in all border-collapsed situations. 3- Links to testcases of latest RC of CSS 2.1 test suite (the links will be redirected accordingly, appropriately) Testcase: http://test.csswg.org/suites/css2.1/latest/html4/border-collapse-offset-002.htm Testcase reference (expected results): http://test.csswg.org/suites/css2.1/latest/html4/border-collapse-offset-002-ref.htm Gérard This bug still happens. I am using KDE Platform Version: 4.8.4 Konqueror version: 4.8.4 (with KHTML rendering engine) Qt Version: 4.8.1 Operating System: Linux 3.2.0-25-generic-pae i686 (32bits) Distribution: Kubuntu 12.04 LTS here. Gérard 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 |