Summary: | Khtml doesn't render tables with border-collapse: collapse and borders set on thead, tfoot and tbody | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Pavel Simerda <pavel.simerda> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Page source (valid and clean)
Screenshot from konqueror (with bugs) Expected rendering (firefox) |
Description
Pavel Simerda
2005-10-30 01:07:27 UTC
Created attachment 13215 [details]
Page source (valid and clean)
Created attachment 13216 [details]
Screenshot from konqueror (with bugs)
Created attachment 13217 [details]
Expected rendering (firefox)
*** This bug has been marked as a duplicate of 108047 *** SVN commit 595538 by carewolf: Table-sections do not have their own border in collapsed-border model. BUG: 108047 CCBUG: 115356 M +5 -0 render_table.h --- branches/KDE/3.5/kdelibs/khtml/rendering/render_table.h #595537:595538 @@ -248,6 +248,11 @@ virtual int leftmostPosition(bool includeOverflowInterior, bool includeSelf) const; virtual int highestPosition(bool includeOverflowInterior, bool includeSelf) const; + int borderLeft() const { return table()->collapseBorders() ? 0 : RenderBox::borderLeft(); } + int borderRight() const { return table()->collapseBorders() ? 0 : RenderBox::borderRight(); } + int borderTop() const { return table()->collapseBorders() ? 0 : RenderBox::borderTop(); } + int borderBottom() const { return table()->collapseBorders() ? 0 : RenderBox::borderBottom(); } + virtual void paint( PaintInfo& i, int tx, int ty); int numRows() const { return grid.size(); } |