Closed Bug 123862 Opened 23 years ago Closed 23 years ago

Table exceeeds 'width' value in a variable fashion

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 100334
mozilla1.2alpha

People

(Reporter: emeyer, Assigned: karnaze)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

The above URL points to the site where I first saw the problem, but I'll attach
a minimal test case showing what's happening since the site is a) kind of
complex, and b) doesn't validate.

In short, the actual problem is that a table that has been given a value for
'cols' and a 'colspan' to match, but doesn't actually have the number of columns
indicated in the 'cols' attribute, expands past the value of 'width'.  The
expansion appears to be dictated by the width of the actual content in the
table, which is odd.  Removing either 'cols' or 'colspan' makes the problem go away.

Testcase to follow.  Apologies if this is a dup but searching for "table" in
Bugzilla, even with extra narrowing search terms, yielded a ton of material,
none of which quite seemed to fit.
There are five tables in this document.  The first three show how the table is
sized according to 'width'.  The second two show how adding both 'cols' and
'colspan' with incorrect values will cause 'width' to be ignored in a variable
fashion.  The same effect can be seen if the tables all have 'width' attributes
instead of using CSS 'width', although this is not illustrated in the testcase.
 Confirming the bug, adding testcase keyword and setting the priority to P3
Keywords: testcase
Priority: -- → P3
Target Milestone: --- → mozilla1.2
Attached test case render the same in Moz (Win98, build 2002011915) as in IE5.5.
Eric, are you still seeing the issue?
I saw the behavior in 0.9.8 (2002020405), but do not see it in the latest build
(2002022008).  Looks like it may have been fixed-- anyone want to confirm, or
point to the patch that might have fixed it?
yep, I fixed this one 

*** This bug has been marked as a duplicate of 100334 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: