Closed Bug 58576 Opened 24 years ago Closed 24 years ago

Parser bug with anchors and PRE tags

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 54834

People

(Reporter: mkaply, Assigned: rickg)

References

()

Details

The following html:

<a name=anchorlink>
<pre>
Pre tag starts here
This text is pre
<a href="not really a link">This link turns off pre because of the anchor</a>
And the rest of the text is not pre
</pre>

Is broken in Mozilla.

It does work on IE5 as well as 4.61.

It appears that the anchor within the PRE tag is throwing off the parser. Note 
that named anchor must be above the <PRE> for this to break.
Sorry. wrong component
Component: Layout → Parser
Argh
Assignee: clayton → harishd
QA Contact: petersen → janc
Everyone on IRC told me to CC rickg.

And since I have already spammed people so much with this bug, what's one more?
I think I already have a fix for this, which I'm hoping to land shortly on the 
trunk (with about a dozen other little bug fixes). I'll take this bug until I 
can determine whether it's a dup.
Assignee: harishd → rickg
Dup of 54834.

*** This bug has been marked as a duplicate of 54834 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.