captions are expanding size of tables

VERIFIED FIXED in M16

Status

()

Core
Layout: Tables
P1
major
VERIFIED FIXED
19 years ago
18 years ago

People

(Reporter: dbaron, Assigned: karnaze (gone))

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

19 years ago
In the first three tests in the above page, captions seem to be setting the size
of tables.  The widths of the caption and the table should instead be
independent.  The width property on the table is being ignored.

Expected: widths of first three tests are as described

Actual: table is always just bigger than the caption, based on what the caption
width should be.  The difference seems to be double the border width of the
table.

Tested on: viewer and apprunner, 1999-07-17, Linux.
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
Target Milestone: M11

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → WORKSFORME
Whiteboard: [WORKSFORME]

Comment 1

19 years ago
The widths of the captions and the tables now seem to be independent in the
latest builds, marking it WORKSFORME.

Tested on apprunner, 1999073008 Linux, 1999073011 Windows 95
(Reporter)

Updated

19 years ago
Status: RESOLVED → VERIFIED
(Reporter)

Comment 2

19 years ago
Verified fixed.
(Reporter)

Comment 3

18 years ago
Reopening.  This bug has partially regressed.  The second test case in the above
page is now wrong.  Captions are expanding the widths of tables.  See
http://www.w3.org/TR/REC-CSS2/tables.html#q5 for why this is wrong.
Status: VERIFIED → REOPENED
Resolution: WORKSFORME → ---
Summary: captions are setting size of tables → captions are expanding size of tables
Whiteboard: [WORKSFORME]
(Assignee)

Comment 4

18 years ago
Steve, the caption frame is a block frame. In the 2nd table, the caption has a 
style width set and is saying that its max element size is 600px (the same as 
its desired size) which is wrong.

If, I am not mis-using the block frame class here, then this problem must surely 
be causing a bunch of other block related problems.
Assignee: karnaze → buster
Status: REOPENED → NEW

Comment 5

18 years ago
Please update the TFV from the current M11 state.

Comment 6

18 years ago
seems pretty important.  will look into this for M16.
Severity: normal → major
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: M11 → M16

Comment 7

18 years ago
chris: this is the bug we talked about this afternoon.  I think the block frame
is doing the right thing returning it's CSS-specified width as its max element
width.  Please investigate further.  Troy, does that sound like the right
definition of "max-element-size?"
Assignee: buster → karnaze
Status: ASSIGNED → NEW
(Assignee)

Comment 8

18 years ago
This is fixed. There is still a problem where the caption is not honoring 
box-sizing (so the caption will appear wider than the table) but I have a fix 
for that and will check it in shortly.
Status: NEW → RESOLVED
Last Resolved: 19 years ago18 years ago
Resolution: --- → FIXED

Comment 9

18 years ago
Verifying this bug based on the first three tables/captions displaying 
correctly.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.