Border collapsing implementation for tables

Leo Savernik l.savernik at aon.at
Mon Feb 9 18:02:15 CET 2004


Am Sonntag, 19. Oktober 2003 20:15 schrieb David Hyatt:
> Yes.  Here's what I have so far.

I tried to merge border collapsing into khtml this weekend. While the actual 
merge succeeded quite painlessly, I ran across certain issues:

- As the borders spill into the margin, they are not repainted if the repaint 
rectangle is outside the table, but would intersect with the spilling border. 
Deciding from the comments in the code, you're aware of that fact.
- The border-collapsing code doesn't handle row/colspans correctly. Given this 
testcase [1], you see that the solid blue border of the "Haus" cell is 
painted across the whole length of the spanning cell's bottom border 
containing "Spezialeinstellung (collapse)".

Can you tell me whether you can reproduce the latter in WebCore? If you have 
already fixed it, would you please provide a patch?

mfg
	Leo

[1] http://selfhtml.teamone.de/css/eigenschaften/anzeige/border_collapse.htm


More information about the Khtml-devel mailing list