Closed Bug 322657 Opened 19 years ago Closed 12 years ago

ASSERTION: attribute encountered -- this shouldn't happen.

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

See upcoming testcase, which causes this assertion in a recent debug build.

Basically, this mangled piece of html causes the assertion:
<table style=">
</td colspan="5">
t
<base style=">
<span style=">
<keygen>
<img style=">
<div style=">
</td style=">

The assertion says this should not happen, so I thought, let's file a bug on it ;)
Attached file testcase
Either CNavDTD::HandleSavedTokens needs to be rewritten to stop confusing the DTD, we need to move keygen support into content, or we should do both. This is the fairly standard problem of pushing tokens onto the tokenizer from inside HandleSavedTokens and then getting bitten by the way that HandleSavedTokens works.
Depends on: html5-keygen
This still happens on trunk.
Assignee: mrbkap → nobody
Still happens on trunk, but only when html5.enable is false.
As per http://hsivonen.iki.fi/old-parser-pref/ this pref is gone.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: