Closed Bug 267979 Opened 20 years ago Closed 20 years ago

innerHTML formatting of tables isn't correct when placing a table within a table

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: crestien, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Firefox/1.0RC2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Firefox/1.0RC2

I have a <div id="main"></div> in each of my pages and I replace the nothing
with content that is gotten dynamically from another server using JavaScripts
innerHTML function.  In Netscape 7.1, IE 6 SP2, Opera 7.54 it works just fine,
but in RC2 of Firefox, which is my main browser, it loads incorrectly.

I have the Web Developer Extension and when I turn on OutLine Table Cells then
turn it off, it corrects the problem.

It's like because the Table is put in after the other layout was rendered it
does it incorrectly.

I understand I should be using CSS and div and span and all that, but this is
the quick and dirty way to get this site done for some quick $$.  It works in
other browsers and I hope it's a quick fix for this one.

Reproducible: Always
Steps to Reproduce:
1. Just load the page I gave you.
Actual Results:  
The table that is placed into the cell is wider than it should be.

Expected Results:  
The table should be smaller and centered.  I believe it may be centered right
but it's just too wide to tell.
wfm with current trunk build 
Worksforme as well.  Reporter, can you please check a current trunk build?  The
layout engine in Firefox 1.0 is over 7 months old....
I didn't think to check a current build being that Firefox came out 6 days ago.
 I thought I was using a current build....  

Anyway, worked for me as well.  Sorry to waste your time on this.

While you're closing this bug, can I ask you why Firefox is using a layout
engine that is 7 months old when it came out to the mass market to compete
against IE, 6 days ago?
Because Firefox is shipping off the 1.7 branch.  This branched off the trunk in
April and has focused on crash fixes and the like, while new feature work (for
the layout engine) and major architecture changes have been happening on the trunk.

Once these have had some time to be tested, they will be shipped in Firefox 1.1.
Sounds Good.  Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: