Closed Bug 48494 Opened 24 years ago Closed 24 years ago

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

Categories

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

x86
Windows 95
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: jthg, Assigned: karnaze)

References

()

Details

(Keywords: verifyme)

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.
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
Closed: 24 years ago
Resolution: --- → INVALID
Adding 'verifyme' keyword
Keywords: verifyme
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.