Closed Bug 23529 Opened 25 years ago Closed 25 years ago

small parse problem; 'early' close of <A> {compat}

Categories

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

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: 3jrgm, Assigned: rickg)

References

()

Details

Attachments

(1 file)

Noticed on www.infospace.com, while looking at an unrelated problem.

This pattern evades 2000010908 win95 :

  <font face="Arial,Helvetica" size=2>
  <A HREF="foo.html">
  <b>Public Records</b>
  </font>
  <br>
  <font face="Tahoma,Helvetica,Arial" size=1>Find Anyone, Background
     Checks,<br>SS# Checks, Adoption Reunions</a> ...</font><br>


But, just in case anyone's reading this ... I think infospace are absolute
gods of well-formed HTML, simply perfection, the best, never make an error,
I'm honored just to find our bugs on their page, mozilla is not worthy, I'm
completely serious here ...
Status: NEW → ASSIGNED
Target Milestone: M14
This is legit. It's a subtle error in auto-closing in residual style tags.
Oh -- and for the record, this HTML is *not* well-formed. :(
Here's my reduced testcase:

 <font face="Arial,Helvetica" size=2>
  <A HREF="foo.html">
  Public Records
  </font>
  <br>
  Find Anyone, Background Checks,<br>SS# Checks, Adoption Reunions</a> ...
I suppose that the problem with the html below is the same thing, even if this
is more like 'late' close of <A>.

<html>
<body>
<a href="target1">target1
<p><a href="target2">target2</a>
</p>
some text
</body>
</html>

Viewed in mozilla all the text shown is a link to target1, in 4.x it's displayed
as two different links and normal text ('some text').

Fount this on slashdot.org, bottom half of the frontpage was a link to
someplace.
Setting the keyword all open [4.xp] bugs to 4xp.
Keywords: 4xp
Summary: [4.xP] small parse problem; 'early' close of <A> → small parse problem; 'early' close of <A>
No hope for this in m14. Moving out.
Target Milestone: M14 → M15
That is some _impressively_ badly formed HTML! :-O
Summary: small parse problem; 'early' close of <A> → small parse problem; 'early' close of <A> {compat}
This appears to be fixed as a side effect of fixing 3944.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
marking verified
win95
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: