Linux, Mozilla nightly build 031716. The following HTML: <p>random text <p>text before a link: <a href="http://www.fastcompany.com/"><cite>link <p>..link </cite></a>text after link <p>more randomness causes the anchor (link to www.fastcompany.com) to NOT terminate at the </a>. Instead, everything after <a href:...> is treated as the link. If I remove the nested <p>: <p>random text <p>text before a link: <a href="http://www.fastcompany.com/"><cite>link ..link </cite></a>text after link <p>more randomness the anchor tag correctly terminates at </a>. If instead I remove the <cite></cite> tags: <p>random text <p>text before a link: <a href="http://www.fastcompany.com/">link <p>..link </a>text after link <p>more randomness again, the link is terminated correctly.
Created attachment 6691 [details] Here are the 3 cases I mentioned. (NOTE!! I put the erroneous case at the bottom, so as to avoid breaking the other 2 correct ones)
Moivng to my list since Rickg is on sabbatical.
Assignee: rickg → harishd
Should probably be fixed for rtm.
Status: NEW → ASSIGNED
Changing rtm to nsbeta3.
Keywords: rtm → nsbeta3
Moving to the FUTURE list. Please raise your concerns. Thanx.
Target Milestone: M18 → Future
Ugh, this is very invalid HTML. If anyone wants this fixed, we're going to need to find top100 sites that exhibit this. If we don't fix it by rtm, then we might as well mark it WONTFIX or INVALID, since by then there will be a precedent for our behaviour: us.
Keywords: compat, testcase
massive update for QA contact.
QA Contact: petersen → lorca
I don't see the problem anymore. Marking WFM. Could someone please verify this? Thanx.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → WORKSFORME
Actually, the problem is still appearing. From Hixie's comment though, this should be an INVALID. Marking as such, since <p> is illegal inide <a> tags. REOPENing.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Now marking RESOLVED INVALID. Also changing Plat/OS to ALL since it affected everything:).
Status: REOPENED → RESOLVED
Last Resolved: 17 years ago → 17 years ago
OS: Linux → All
Hardware: PC → All
Resolution: --- → INVALID
*shrug* VERIFIED, since it's invalid. reopen if you find some top100 sites that exhibit this behaviour.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.