Closed
Bug 32841
Opened 24 years ago
Closed 16 years ago
Colspans with large min width don't honor proportional cols
Categories
(Core :: Layout: Tables, defect, P3)
Core
Layout: Tables
Tracking
()
RESOLVED
WONTFIX
Future
People
(Reporter: hysteros, Unassigned)
References
()
Details
(Keywords: testcase, Whiteboard: [awd:tbl])
Attachments
(6 files)
Hi. On the Websites http://www.cityweb.de, the HTML-Tables are showed in a wrong layout. At the top, the table is too big, in the middle right, at bottom too big. The correct layout can be viewed with Netscape 4.0 or IE 4. The Bug exists in M12, M13, M14 on all platforms.
Comment 1•24 years ago
|
||
hysteros@cityweb.de - are you still seeing this problem on recent builds of Mozilla? Gerv
Comment 2•24 years ago
|
||
Yep, it's still there. Confirming using M15 (20000418) on W95. Needs a testcase... Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•24 years ago
|
||
making a test case.. looks like this one will be tricky.
Keywords: makingtest
Whiteboard: [MAKINGTEST]
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → M17
Comment 4•24 years ago
|
||
Tim Stallman - any luck with your test case? Gerv
Comment 5•24 years ago
|
||
Removing makingtest to add this bug back into the BugAThon. It's still there with 2000-05-27 W95. Gerv
Keywords: makingtest
Whiteboard: [MAKINGTEST]
I managed to get the page to format correctly if I remove the <IFRAME> in the top table, and the <COLGROUP> in the bottom table. According to http://www.willcam.com/cmat/html/crossref.html, neither of these tags are supported by Netscape nor W3C. Should this be marked invalid?
Comment 7•24 years ago
|
||
The problem seems to be a conflict between the width specified in the COL elements and the actual width of the content in the cells. I have distilled http://www.cityweb.de down to a bare minimum as a testcase.
Keywords: testcase
Comment 8•24 years ago
|
||
The testcase triggers the assertion at line 276 of BasicTableLayoutStrategy.cpp
Comment 10•24 years ago
|
||
Comment 11•24 years ago
|
||
snippet from the table dump: The error occures inside AssignNonPctColWidths -> colspanwidth The width's should be at maximum 5025 and 2325 after this routine. AssignNonPctColWidths en max=7350 count=0 ***START TABLE DUMP*** mColWidths=0 0 col frame cache -> 0=00BD2CEC 1=00BD2D54 **START COL DUMP** colIndex=0 isAnonymous=0 constraint=0 widths=-1 -1 -1 -1 -1 -1 -1 -1 -1 **END COL DUMP** **START COL DUMP** colIndex=1 isAnonymous=0 constraint=0 widths=-1 -1 -1 -1 -1 -1 -1 -1 -1 **END COL DUMP** ***END TABLE DUMP*** AssignNonPctColWidths ex ***START TABLE DUMP*** mColWidths=3585 3585 col frame cache -> 0=00BD2CEC 1=00BD2D54 **START COL DUMP** colIndex=0 isAnonymous=0 constraint=0 widths=0 0 5025 3585 -1 -1 -1 -1 -1 **END COL DUMP** **START COL DUMP** colIndex=1 isAnonymous=0 constraint=0 widths=0 0 2325 3585 -1 -1 -1 -1 -1 **END COL DUMP** ***END TABLE DUMP***
Keywords: qawanted
Comment 12•24 years ago
|
||
WORKSFORME, 2000-12-27-05 on Windows 98 SE. The original problem reported here (URL and 1st testcase) is now working. There is still a 1-pixel round-off error at URL when resizing the window, but that bug is reported elsewhere. The 2nd testcase only shows that <HR width=490> is actually 488 pixels wide (try <img width=490 ...> instead and you will see that the table width is correctly 490px). I haven't checked if the assertion in BasicTableLayoutStrategy.cpp reported by Bernd 2000-11-30 is still occuring.
Comment 13•24 years ago
|
||
This bug is fixed on the surface, but underneath it is still buggy, the problem here is how the min con width of an auto width colspan is distributed to the table cells contained in the colspan, while the assertion is fixed, the tabledump is still buggy. I will attach a more selfexplaining testcase.
Comment 14•24 years ago
|
||
Comment 15•24 years ago
|
||
Comment 16•24 years ago
|
||
Updated•24 years ago
|
Target Milestone: M17 → ---
Comment 19•23 years ago
|
||
Comment 20•23 years ago
|
||
The patch fixes http://bugzilla.mozilla.org/showattachment.cgi?attach_id=21755 but does not fix http://bugzilla.mozilla.org/showattachment.cgi?attach_id=21756. By this we are 100% compatible to IE6. ;-). The patch passes the regression tests.
Comment 21•23 years ago
|
||
If karnaze thinks it is OK, then sr=attinasi (in other words, the code looks fine, but I do not understand the full implications of the change to the table code).
Comment 22•23 years ago
|
||
r=karnaze. Bernd, it looks like you moved some code from one place to another.
Comment 23•23 years ago
|
||
yes, I moved the code because we did not consider the col specified fixed width for the distribution of the min width. The patch is in. I am not closing the bug as the proportional thing is still not working. Changing summary.
Summary: HTML-Tables wrong built. → Colspans with large min width don't honor proportional cols
Comment 24•23 years ago
|
||
Some kind of regression has occurred since build 2000-12-27-05. http://www.cityweb.de and 1st testcase (attachment 11760 [details]) is now broken again.
Keywords: patch
Updated•22 years ago
|
Target Milestone: mozilla1.0.1 → Future
Comment 26•21 years ago
|
||
mass reassign to default owner
Assignee: karnaze → table
Status: ASSIGNED → NEW
QA Contact: amar → madhur
Target Milestone: Future → ---
Updated•21 years ago
|
Target Milestone: --- → Future
Comment 27•21 years ago
|
||
*** Bug 225019 has been marked as a duplicate of this bug. ***
Comment 28•18 years ago
|
||
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=21755 and http://bugzilla.mozilla.org/showattachment.cgi?attach_id=21756 wfm with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20061231 Minefield/3.0a2pre
Comment 29•16 years ago
|
||
the whole portional column stuff got removed
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•