Closed
Bug 3977
Opened 26 years ago
Closed 25 years ago
{colspan-width} IMG or WIDTH with COLSPAN distorts column or table widths
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
M10
People
(Reporter: guppy, Assigned: karnaze)
References
()
Details
(Whiteboard: [TESTCASE])
Attachments
(1 file)
(deleted),
text/html
|
Details |
In the current build of Mozilla several consecutive & nbsp; do not split at a
line break, in the case of this URL, in a table cell, causing the cell to
stretch to fit, messing up the other column widths to the left of the cell as
well as to the right in the table.
Currently Navigator pushes columns to the right of that column farther to the
right and widens the table. IE5 shrinks the columns to the right to fit the
table width (as defined in <TABLE WIDTH=###>
Assignee: kipp → karnaze
Status: ASSIGNED → NEW
Component: Layout → HTMLTables
The issue has nothing to do with  's - those provide the space betwen the
green column and the main table area where most of the text content is.
The bug is in the green column - its too wide.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•26 years ago
|
Target Milestone: M6
Assignee | ||
Comment 2•26 years ago
|
||
Moving to M6.
Updated•26 years ago
|
Summary: bad handling of consecutive & nbsp; → IMG in COLSPAN distorts column widths
Comment 3•26 years ago
|
||
Comment 4•26 years ago
|
||
Assignee | ||
Comment 5•26 years ago
|
||
Moving to M8
Updated•26 years ago
|
Whiteboard: [TESTCASE]
Comment 6•26 years ago
|
||
Marked with [TESTCASE].
Comment 8•26 years ago
|
||
Here is the testcase from bug #5835 (URL was http://www.book.ru/snk/)
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=109
I should write it again, as it is not really clear on first reading.
Comment 10•26 years ago
|
||
*** Bug 1095 has been marked as a duplicate of this bug. ***
Comment 11•26 years ago
|
||
*** Bug 2947 has been marked as a duplicate of this bug. ***
Updated•26 years ago
|
Summary: IMG in COLSPAN distorts column widths → IMG or WIDTH with COLSPAN distorts column or table widths
Comment 12•26 years ago
|
||
[TESTCASE]
It is not only an IMG in a colspan that distorts the width -- a colspan
with a width will cause an identical problem. It looks like images in cells
are having a direct effect on the cell's width, even if the cell should not
contribute anything towards the distribution of width in a table. Thus when
you set the width of a colspanned cell using width instead of a table, the
same problem appears.
Some more test cases, these produced by distilling bug 1095 and bug 2947:
http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/tablewidth.html
http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/tablesizing.html
Note that in some cases, it is the _table_ width that is distorted rather than
the simply the column width distribution.
Comment 13•26 years ago
|
||
From bug 2947, http://www.webstandards.org/ is also a relevant test case. I
think there were other bugs on the same problem with that page, which was fixed
and then reappeared.
Updated•26 years ago
|
Summary: IMG or WIDTH with COLSPAN distorts column or table widths → {colspan-width} IMG or WIDTH with COLSPAN distorts column or table widths
Comment 14•26 years ago
|
||
I would say that
http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/tablewidth.html
is the canonical test for colspans and width distribution. I've noted a few
other extant bugs with {colspan-width} in the summary.
Comment 15•26 years ago
|
||
*** Bug 2954 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 16•26 years ago
|
||
Moving to M9.
Comment 17•26 years ago
|
||
*** Bug 10039 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 18•25 years ago
|
||
The url and attachment look like Nav4.6 (except that the images in the
attachment are not found and we handle that differently). A lot has
happended since I looked at this last. Marking worksforme.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 19•25 years ago
|
||
Works for me too. Marking as verified works for me in the Sept 16th build.
You need to log in
before you can comment on or make changes to this bug.
Description
•