Closed Bug 21003 Opened 25 years ago Closed 25 years ago

Demo 4 table 5 (tbody) does not display correctly since M10

Categories

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

x86
All
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: basic, Assigned: karnaze)

References

()

Details

Attachments

(3 files)

I don't know who is in charge of this but here goes.
Demo 4 table 5 (tbody) does not display correctly since M10.

The problem is because of this offending part:

<thead>
<tr><td colspan=2 style="font-size: 8pt; font-weight: bold">HEADER
</thead>

Note that <tr> does not have a corresponding </tr>

Another thing is that when that is fixed, <tfoot> appears as part of <tbody>.
It's cause by <tfoot> being declared after <tbody>

<tbody ... >
.
.
.
</tbody>

<tfoot>
<tr><td colspan=2 style="font-size: 8pt; font-weight: bold">FOOTER
</tfoot>

when I change it to

<tfoot>
<tr><td colspan=2 style="font-size: 8pt; font-weight: bold">FOOTER
</tfoot>

<tbody ... >
.
.
.
</tbody>

it works.
I'm not sure if the html document in question or Mozilla is at fault as I'm not
a HTML guru. ;-)
I forgot to add that the above mentioned <tfoot>
<tfoot>
<tr><td colspan=2 style="font-size: 8pt; font-weight: bold">FOOTER
</tfoot>

also has a missing </tr>
without it Mozilla will not display <tbody> correctly
Is this related to the fix for bug 3737 ?
bug3737:Problem with rendering tables; <TBODY> inside TR
sorry I made a mistake in my initial report:
what I meant was it was missing </td></tr>
same with my second comment.

I also forgot to mentioned that the <tfoot> problem was tested with m10
with the nightly build 1999120608 it seems to work
however with the nightly build when <tfoot> is declared before <tbody> it is
displayed over <tbody>
gfx-scrollbar have to be turned off to test for this bug due to bug #21004
The part of the bug that says the footer doesn't display properly if <tfoot> is
declared after <tbody> is invalid. Section 11.2.3 HTML4 spec says:

"TFOOT must appear before TBODY within a TABLE definition so that user agents
can render the foot before receiving all of the (potentially numerous) rows
of data."
As of build 1999121008 win32:
Mozilla displays
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=3301
(where tfoot is declared after tbody)
with a scrollbar

Mozilla displays
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=3301
(where tfoot is declared before tbody)
with a scroll bar but tfoot appears on the first line of tbody and below tbody
at the same time.And then crashes when I click it.

Note: gfx scrollbars work for tbody as of build 1999121008 win32
>The part of the bug that says the footer doesn't display properly if <tfoot> is
>declared after <tbody> is invalid.

does this mean that demo 4 needs to be fixed?
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Ok, this mess is my fault. Should have read the HTML 4 Rec more carefully
before I filed a bug. And the other aspects of this bug is also invalid, as it
has been fixed since M11. I thought I was still seeing the same bug, when
actually it was the xpscrollbar causing the table to be out of focus.

Marking as invalid
Status: RESOLVED → VERIFIED
Verifying invalid per reporter's comments
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: