the browser does not display the table widths as it should




12 years ago
4 years ago


(Reporter: cristi.trohin, Unassigned)




Firefox Tracking Flags

(Not tracked)




(1 attachment)



12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070309 Firefox/
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070309 Firefox/

The browser does not display the table widths as it should (specified in each td).
I have tested this URL in Firefox 1.5, Opera 9.20, Internet Explorer 7 and they all show it well.

Reproducible: Always

Steps to Reproduce:
1. Enter URL in address line

Actual Results:  
All table rows get split at 50% even though other percents are specified per each td.

Expected Results:  
First row:
 First td should have 25% width
 Second row should have 75% width
Second row:
 First td should have 75% width
 Second row should have 25% width
And so on
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables

Comment 1

12 years ago
Can you create a minimized testcase for this?

Comment 3

12 years ago
Created attachment 265415 [details]
some testcases

minimal testcase + some variations:

Test 1: This is a reduced version of the URL given in the bug report (fixed width table using colspan + DIV inside the first row, the URL has an IMG in place of the DIV).

Test 2: like test 1, but no width specified on the TABLE (table is now twice as wide?)

Test 3: like test 1, but DIV shortened to 100px

Test 4: like test 1, but extra row that adds explicit column widths

Comment 4

12 years ago
Based on the behaviour seen in the testcases this looks like a dup of one the various bugs with colspan sizing that we already have (bug 187550 is one possible candidate), so I guess someone needs to find a suitable bug to dup this.

Note: I tested this on trunk, but the rendering is not substantially different in Firefox 1.5 (mostly test 2 has much smaller table width), as far as I can see.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070518
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
Hardware: PC → All
Whiteboard: DUPEME
Version: unspecified → Trunk

I have just found your old bug report from 2007 and it was never updated...
can you please confirm that it is OK now for you with new version of FF?

thanks for your help and sorry that there was no update for such a long time.
Flags: needinfo?(cristi.trohin)

Comment 6

4 years ago
I'm not the original reporter, but I did the reduced testcase (showing the bug) back in 2007 based on the contents of the URL given in the bug report. I can confirm that this testcase looks fine now on a current version of Firefox, so I think this bug report can be closed.
Last Resolved: 4 years ago
Flags: needinfo?(cristi.trohin)
Resolution: --- → WORKSFORME
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.