Closed Bug 35167 Opened 25 years ago Closed 25 years ago

table margin adjacent to caption disappearing

Categories

(Core :: Layout: Tables, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: karnaze)

References

()

Details

(Keywords: css2)

DESCRIPTION: A margin on a table on the side with a caption should be between the table and the caption. Right now this margin seems to be disappearing. I think this is a regression, but I might have missed it in previous runs through my tests. See http://www.w3.org/TR/REC-CSS2/tables.html#q5 for description. STEPS TO REPRODUCE: * load http://www.people.fas.harvard.edu/~dbaron/css/test/sec1704 ACTUAL RESULTS: * the first of the tests for caption on the top (class="four") and the first for caption on the bottom (class="twelve") do not have a space between the table and the caption. EXPECTED RESULTS: * these two tests have the 20px gap, as described in the test DOES NOT WORK CORRECTLY ON: * Linux, mozilla, 2000-04-07-08-M15
The class=four table does not specify a margin between the caption and table (class=five does). class=twelve is a problem.
Status: NEW → ASSIGNED
Target Milestone: --- → M16
No, the point of the bug is that table.four { margin-top: 20px; } should put the table's margin between the caption and the table. But table twelve is just the same thing, but on the bottom.
Fixed with recent checkins.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Using 9/14 build on Linux, verified table margins are correct on tables 4 & 12. Verifying bug fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.