User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; sv-SE; rv:1.7.5) Gecko/20041108 Firefox/1.0 With nesting like this <a><div>Outerlink<a><div>Innerlink</div></a></div></a> the inner link doesn't work. Clicking the inner link will activate the outer link. This works in IE 6 (but it has other problems with it...). Not sure what the standards say about this. Is it supposed to work? Note: I tested it with the XHTML transitional DTD. Reproducible: Always Steps to Reproduce: 1. Load demo page. 2. Click inner link (www.sourceforge.net). 3. You will get the outer link (www.mozilla.org). Actual Results: The wrong page showed up - the one that the outer link refers to - www.mozilla.org. Expected Results: The inner link's page should show up - www.sourceforge.net.
It's right in the spec that nesting links is illegal. http://www.w3.org/TR/html401/struct/links.html#h-12.2.2
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → INVALID
(In reply to comment #1) > It's right in the spec that nesting links is illegal. > http://www.w3.org/TR/html401/struct/links.html#h-12.2.2 Wow, that was fast! :-) Thanks for pointing me to the standard.
Summary: Link nestid inside other link doesn't work (Mozilla 1.7 and Firefox 1.0) → Link nested inside other link doesn't work (Mozilla 1.7 and Firefox 1.0)
You need to log in before you can comment on or make changes to this bug.