Closed Bug 20178 Opened 26 years ago Closed 26 years ago

[4.xP] <a href="link"><p></a></p> <table> gives bad links in table

Categories

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

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: gabe, Assigned: rickg)

References

()

Details

Overview Description: <a href="link.html"><p></a></p> causes links in a table that immediately follows to point to "link.html". Steps to Reproduce: Either a) Go to (the lovely, FrontPage-produced :) http://postcalc.usps.gov and try to click on any of the "Package", "Oversized package", etc. OR b) Try the following minimal code: <a href="bad.html"> <p>Link to bad.html</a></p> <table> <tr> <td><a href="good.html">Should be link to good.html</a></td> </tr> </table> Actual Results: All of the links on the USPS page point to the imagemap. All of the links in the given code snippet point to "bad.html". Expected Results: Although the above is ugly code, IE 5.0 and NN 4.7 handle it gracefully--all of the links on the USPS page point to the appropriate places, and the second link in the snippet points to "good.html". Build Date & Platform Bug Found: Win95 M11 Release Additional Builds & Platforms Tested On: None Additional Information: Placing an <a href="...">...</a> link after the closing paragraph marker & before the <table> tag eliminates the problem. Arranging the tags in a sane manner (<p> before the <a> or </a> after the </p>) also corrects the problem.
Component: HTMLTables → Parser
Assignee: karnaze → rickg
QA Contact: chrisd → janc
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fixed by latest update that enables residual style handling.
tested on Win95 works marking verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.