Closed Bug 22898 Opened 25 years ago Closed

Parser confused by <A><DT>link-text</A> when inside <TD>

Categories

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

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: 3jrgm, Assigned: rickg)

References

()

Details

Attachments

(1 file)

Overview Description: Busted by Bonsai ... Bonsai's webtools/bonsai/rview.cgi script spits out a particular pattern that evades the parser's link detection (I believe). Steps to Reproduce: 1) Go to the reported bonsai URL, or better, view the simplified attachment (to follow) 2) Notice that only the first filename inside the TD is highlighted as a link. Actual Results : first filename is highlighted as a link Expected Results: all filenames should be highlighted as <A HREF> links (or, at least, under 4.xP compatibility, etc., it should be highlighted). Build Date & Platform Bug Found: 2000010208 Win95 Additional Builds and Platforms Tested On: no others tested Additional Information: Here's the simplest pattern (even simpler than the attachment, but I didn't want to oversimplify the attachment). <p> Key Point: MUST be inside a TD element </p> <table><tr><td> <a href='foo.html'> <dt>I'M HIGHLIGHTED</a> <a href='bar.html'> <dt>I SHOULD BE HIGHTLIGHTED (BUT AM NOT)</a> </td></tr></table> <p> same markup, but outside a TD element </p> <a href='foo.html'> <dt>I'M HIGHLIGHTED</a> <a href='bar.html'> <dt>OUTSIDE TABLE, I'M HIGHTLIGHTED</a>
Status: NEW → ASSIGNED
Summary: Parser confused by <A><DT>link-text</A> when inside <TD> → Parser confused by <A><DT>link-text</A> when inside <TD>
Target Milestone: M13
This is fixed in my tree, awaiting a moment when I can checkin.
Fixed in my tree awaiting an opportunity to checkin.
Fixed by change to CloseContainersTo() and ElementTable().
Status: RESOLVED → VERIFIED
Works for Me Platform: PC OS: Windows 98 Mozilla Version: 2000100508 Marking as Verified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: