Closed
Bug 333822
Opened 19 years ago
Closed 10 years ago
td width="60" not honored in an overlapping colspan="2" situation
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
RESOLVED
INVALID
People
(Reporter: Dave, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file, 1 obsolete file)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0
The attached page has three columns. One row has
colspan=2 colspan=1 width=99%
and another has
colspan=1 width=60 colspan=2
The useful behavior is for the width=60 to limit the first column width. Gecko should honor it but ignores it.
Reproducible: Always
Steps to Reproduce:
1. open the file in a Gecko browser
2. Notice that the first column is too wide.
3.
Actual Results:
Gecko ignores the width=60
Expected Results:
First column should be width=60
Comment 2•19 years ago
|
||
Note that this colspans are not working as you expect. If you add three actual columns, the first column has a correct width. Not sure if it's working as supposed.
Attachment #218260 -
Attachment is obsolete: true
Updated•19 years ago
|
This appears to be correct behavior according to standards. When % width and absolute width conflict, % is given precedence, unless "table-layout: fixed" is specified. http://stackoverflow.com/questions/20414911/when-we-using-the-and-px-for-width-of-tables-tr-which-is-the-high-priority
Safari and Chrome render this the same as Firefox.
Note: using style="width: calc(99% - 1px)" instead of just 99% may produce the results you desire.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•