Closed Bug 258538 Opened 20 years ago Closed 19 years ago

CNavDTD doesn't properly discard attributes on endtags that are 'skiptargets'

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: mrbkap, Unassigned)

References

()

Details

In CNavDTD.cpp, line 831 - when the current token is a skiptarget (this includes things like </script> and </title>), we never call CNavDTD::CollectAttributes() for the skip target, leading to: ###!!! ASSERTION: attribute encountered -- this shouldn't happen unless the attribute was not part of a start tag! See the URL. This *should* be a one-line fix to CNavDTD. Note: this bug is different than bug 180334 (which will require a bunch more debugging to find the cause of). I won't be able to actually make a patch for this until the weekend.
Skip targets no longer exist on trunk. Marking INVALID (thanks to bug 272702).
Status: NEW → RESOLVED
Closed: 19 years ago
Depends on: 272702
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.