Open
Bug 192734
Opened 23 years ago
Updated 3 years ago
Columns have wrong width
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
NEW
Future
People
(Reporter: lapsap7+mz, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030211
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030211
There're five tables in this page in five sections (Dramatis Personae, Scene I
to IV). The width of the first column is too large (or is it that the width of
the second column too narrows??). And strangely, the width of first columns
decreases as the sections go.
I've looked in the source code but couldn't see any bad code, except that the
author uses <col>, and he closes <tr> but not <td>. But they don't seem to be
bad code.
Reproducible: Always
Steps to Reproduce:
Comment 1•23 years ago
|
||
This is a result of usage HTML3 cols=2 attribute
(http://www.w3.org/MarkUp/Tables/950915_tables.html):
If the COLS attribute on the TABLE element specifies the number of columns, then
the table may be rendered using a fixed layout, otherwise the autolayout
algorithm described below should be used.
Fixed Layout Algorithm
For this algorithm, it is assumed that the number of columns is known. The
column widths by default should be set to the same size. Authors may override
this by specifying relative or absolute column widths, using the COL element.
The default table width is the space between the current left and right margins,
but may be overridden by the WIDTH attribute on the TABLE element, or determined
from absolute column widths.
Updated•23 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
| Reporter | ||
Comment 2•23 years ago
|
||
Thanks for explaining the algorithm.
However, why the width of the first columns of the tables are decreasing? You
know, I would rather expect they all have the same width.
| Reporter | ||
Comment 3•18 years ago
|
||
Just tested with FF 2.0.0.11 in XP and Linux (Mandriva 2008) and the problem also presents there. Thus OS is raised to ALL. I would expect this problem affects all hardware, actually.
Back to this bug, I feel that the "fixed layout algorithm" inside FF is somehow broken but it's in contrary to "The column widths by default should be set to the same size." since the first column's width isn't 50% of table width.
OS: Windows 2000 → All
Updated•16 years ago
|
Assignee: layout.tables → nobody
QA Contact: madhur → layout.tables
| Reporter | ||
Comment 5•15 years ago
|
||
Yes, the bug has gone away in FF 3.6.3
Please close the bug is needed.
| Reporter | ||
Comment 6•15 years ago
|
||
Typo: please close the bug if needed
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•