Closed Bug 42033 Opened 25 years ago Closed 24 years ago

Relative width value of "0*" used with COL element produces unexpected results

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED
Future

People

(Reporter: karnaze, Assigned: karnaze)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

This is an offshoot of bug 29061.
Attached file example with "0*"
This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug, or if it blocks your work in some way -- please attach your concern to the bug forreconsideration.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Adding testcase keyword so this doesn't show up on the bugathon search page.
Keywords: testcase
QA Contact: desale → chrisd
The example which came from 29061 is not completely correct. if <col width=0*> is inside <table width=100%> and it is the only col, then the col will be as wide as the table.
Attached patch patchSplinter Review
in http://lxr.mozilla.org/seamonkey/source/layout/html/table/src/BasicTableLayoutStrategy.cpp#400 the aSkip0Proportional argument should also be used when the divisor at the very beginning is computed. In the third table in the testcase the divisor is to large as the first row is not omitted. As a result the second column does not reach it's full width.
Keywords: patch, review
Use spaces, not tabs! Fix that, and sr=waterson
The patch is in. Thanks Bernd.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
QA contact update
QA Contact: chrisd → amar
Verified the attached testcase works fine
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: