this is a CSS2.1 issue
and the top margins of the table and the caption should collapse.
Assignee: nobody → bernd_mozilla
Status: NEW → ASSIGNED
Hi Bernd, I came across this bug while working on bug 477462. (In reply to comment #1) > and the top margins of the table and the caption should collapse. That's what the current CR says, but you don't take the Errata into account (boy, I'm happy the WG decided to publish a new CR soon..). According to the errata, the anonymous block that includes the table and its caption is now a block formatting context. Another correction says that the outer vertical margins of a block formatting contexts do never collapse with margins of their in-flow children. So caption margins should never collapse with table margins. This is possibly related to Bug 297676 which is based on an older version of the spec.
Comment on attachment 362485 [details] [diff] [review] rev. patch http://www.w3.org/Style/css2-updates/CR-CSS21-20070719-errata.html man, do I love changing specs!
Robert do you have time to review this? Its a IE8, webkit, opera parity bug. MS has a test case that demonstrates our wrong behavior.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.