Closed Bug 43706 Opened 24 years ago Closed 24 years ago

Nested tables ignored

Categories

(Core :: Layout: Tables, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: busterb, Assigned: harishd)

References

()

Details

Attachments

(2 files)

When several tables are nested withing a table cell, the columns within the nested tables are not rendered properly. Code like the following: <table> <tr> <td>Hello</td> <td><table> <tr> <td>Bye</td> </tr> </td> </tr> </table> Hello and Bye appear in the same column. Using 6/23/2000 build
Your given code is missing a </table> tag, but in any case, I cannot get it to be printed into the same column as you described with build 2000062311. I did, however, see that the above URL is not rendered the same way as in Netscape 4.73. I'll have to read the HTML source to see what's going on.
I don't know enough about HTML to know whether this is a bug or not, but I do know that if I take the HTML file and erase the first line: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> Then the page renders in exactly the same way as Netscape 4.73.
Harish, you can decide if this is a bug or not.
Assignee: karnaze → harishd
There was a missing quote in <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> - I was making a test case and I changed it to <!"DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> - same problem with Mozilla, and Netscape 4.73 still renders fine. The page renders under Mozilla, however with <!"DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">. I have found no missing table tags, and I don't know what changed with tables in HTML 4.01.
I don't see any problem ( 06/22/00 build ) with the snippet. But, in the above URL, menu on the left hand side, looks whacky. I think this is something to do with IMG inside TABLE. CCing Chrish.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
The problem is exactly the wacky menu.
On June 26th build everthing looks fine. Marking WORKSFORME.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
I don't see any difference in 2000062610. The menu is still not displayed properly.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
When the HTML 4.01 or 4.0 DTD is specified under Mozilla 2000062610, if a nested table is placed between font tags in the outer table's cell, the nested table or tables are not rendered. The attached code illustrates this..just uncomment the font tags!
Will look into it. Thanx for the testcase.
Status: REOPENED → ASSIGNED
Target Milestone: --- → M18
Okay, I see the mistake. The above URL and the testcases are using STRICT DOCTYPE,i.e., " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> ", but failed to follow the spec. Per spec. FONT cannot contain TABLE ( STRICT DTD follows this ). Therefore, in the testcase, the TABLE after FONT got thrown away [ Note: it's upto the user agent to handle malformedness ;-) ]. Changing the DOCTYPE ( < 4.0 ) should fix the problem. Marking this bug INVALID.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → INVALID
INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: