Closed Bug 381038 Opened 17 years ago Closed 10 years ago

the browser does not display the table widths as it should

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cristi.trohin, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

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
Can you create a minimized testcase for this?
But first check to see if it's already fixed in the latest alpha of Firefox 3 at http://www.mozilla.org/projects/granparadiso/
Attached file 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
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
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
Hardware: PC → All
Whiteboard: DUPEME
Version: unspecified → Trunk
Hello,

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)
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.
Status: NEW → RESOLVED
Closed: 10 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.

Attachment

General

Creator:
Created:
Updated:
Size: