Tables are closed by a combination of <U> and <H1> tags

VERIFIED INVALID

Status

()

Core
Layout: Tables
P3
normal
VERIFIED INVALID
18 years ago
18 years ago

People

(Reporter: Jacob Eisinger, Assigned: karnaze (gone))

Tracking

({verifyme})

Trunk
x86
Windows 95
verifyme
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

18 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; m18) Gecko/20000809
BuildID:    2000080908

I have made a sample page of the error here:
http://jthg.home.mindspring.com/mozilla/table.html


Reproducible: Always
Steps to Reproduce:
Put this code in a table cell:
<U><H2>Line two in the table</H3></U>

More detailed:
The bug happens happens when inside a <TD> tag, you have a <U> tag followd by a
<H#> tag (this can be any number) and then some text ending with an ending
</H#>. The bug happens with a </U> tag or without a </U> tag. The last <H#>
CANNOT be the same number as the first one - you are opening a tag and closing a
tag that was not opened before.


Actual Results:  The table is closed as if a </table> tag was used.


Expected Results:  Table should not have been closed

Please Note:
This bug would not have happened if I closed my <H2> correctly.

Comment 1

18 years ago
This bug is invalid.  Mozilla cannot be expected to render your HTML code if
that code is incorrect.  HTML is a markup language.  Garbage in == garbage out.

There are numerous problems here.  As you mention, there is a closing tag for an
element which is not open, and an opening tag for an element that is never
closed.  Also, you have a block element (H2) inside an inline element (U), and
this is not allowed.  Finally, you have no doctype declaration.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → INVALID

Comment 2

18 years ago
Adding 'verifyme' keyword
Keywords: verifyme

Comment 3

18 years ago
Source code problem. Marking as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.