1st col. & row | 2nd col. thead | 3rd col. | 4th col. | 5th col. |
2nd row | thead | abcd | abcd | abcd |
5th row | tfoot | a | b | c |
3rd row | tbody | abc | abc | abc |
4th row | tbody | ab | ab | ab |
1st col. & row | 2nd col. thead | 3rd col. | 4th col. | 5th col. |
2nd row | thead | abcd | abcd | abcd |
5th row | tfoot | a | b | c |
3rd row | tbody | abc | abc | abc |
4th row | tbody | ab | ab | ab |
Expected results: the caption box should be outside the table box.
Reference: "the table box generates an anonymous box
that contains the table box itself and any caption boxes (in document order).
The caption boxes are block-level boxes that retain their own content,
padding, margin, and border areas, and are rendered as normal blocks inside
the anonymous box"
CSS 2.1, section
17.4, Tables in the visual formatting model
Internet Explorer 7, Firefox 2, Firefox 3, Opera 9.x, Safari 3, Konqueror 3.5.9, Konqueror 4.1, Seamonkey 1.x, Seamonkey 2.x, K-meleon 1.x, NS 7.x, Galeon 2.14, Epiphany 2.20, Hv3 TKHTML alpha 16 all pass this test.
Update: this bug has been FIXED in Internet Explorer 8 beta 2 (build 6001.18241) released on August 28th 2008. Otherwise, Internet Explorer 8 beta 2 PASSES this specific and particular testcase.