bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

TFOOT rendered above TBODY

VERIFIED FIXED in M14

Status

()

Core
Layout: Tables
P2
normal
VERIFIED FIXED
19 years ago
18 years ago

People

(Reporter: Robin Lionheart, Assigned: harishd)

Tracking

({html4})

Trunk
x86
Windows 98
html4
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

19 years ago
If a table is specified with THEAD/TFOOT/TBODY row groups (in the correct order), Mozilla erroneously renders the TFOOT row group before the TBODY row groups rather than after. (It appears that Mozilla ignores row group tags altogether.)

This is contrary to the HTML 4.0 specification:
http://www.w3.org/TR/REC-html40/struct/tables.html
(Reporter)

Updated

19 years ago
Summary: TFOOT rendered above TBODY [4.xP] → [4.xP] TFOOT rendered above TBODY
(Reporter)

Comment 1

19 years ago
In nightly build 2000011508, when the optional closing tag </TFOOT> is omitted, any following <TBODY> groups appear as a subtable beneath the <TFOOT> group. When the </TFOOT> closing tag is included, the <TFOOT> group is correctly positioned after the <TBODY> groups.

Updated

19 years ago
Assignee: karnaze → harishd

Comment 2

19 years ago
Harish, the content model is wrong for

<table border>
 <thead><tr><td>head
 <tfoot><tr><td>foot
 <tbody><tr><td>body
</table>
(Assignee)

Updated

19 years ago
Priority: P3 → P2
Target Milestone: M14

Comment 3

19 years ago
The real problem here is that elements are being closed out properly. If you
manually add the right close tags, the page lays out right. It looks like an
autoclosure bug in the navDTD.
(Assignee)

Comment 4

19 years ago
FIXED by adding TD|TH to the autoclose tag list of TBODY,THEAD,and TFOOT.
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 5

19 years ago
Using 2/1 build, verifying bug fixed. Using the 1/16 small testcase, tbody 
renders above tfoot as expected.
Status: RESOLVED → VERIFIED
(Reporter)

Updated

18 years ago
Blocks: 41368
(Reporter)

Comment 6

18 years ago
In accordance with "4xp for 'competitor products' Considered Harmful" thread on
n.p.m.qa.general, stripping the [4.xP] off this bug, though it's moot now.
Keywords: html4
Summary: [4.xP] TFOOT rendered above TBODY → TFOOT rendered above TBODY
You need to log in before you can comment on or make changes to this bug.