Border collapsing implementation for tables
David Hyatt
hyatt at apple.com
Mon Feb 9 19:37:21 CET 2004
I can reproduce and haven't fixed either issue.
I've been arguing for changing the behavior of border collapsing so
that margin spill is unlikely in the CSS WG (and so I hadn't come back
to the code yet). I really hate the fact that the table border spills
into the margin. :)
The behavior of collapsing borders on spanning cells is also
under-specified, and so it was unclear to me how to handle them.
dave
On Feb 9, 2004, at 9:02 AM, Leo Savernik wrote:
> 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
> _______________________________________________
> Khtml-devel at kde.org
> https://mail.kde.org/mailman/listinfo/khtml-devel
More information about the Khtml-devel
mailing list