11 Feb
2009
11 Feb
'09
1:38 p.m.
On Wed, Feb 11, 2009 at 08:40:01PM +0900, furaisanjin wrote:
I notice that dillo doesn't allow <div> inside <a>. That's why link doesn't work. This is one example from news.google.com.
<a class=d href="/news?ned=us&topic=w"> <div class=naventry> <font size=-1> <b> World</b> </font> </div> </a>
Yes. It's dillo trying to follow and help others to play by standards. This page has more than a hundred bugs in the bug-meter. A is an "inline container", DIV is a "block element". Only "block containers" are allowed to have "block elements" inside. Hence it is a bug. In this case Dillo closes the inline container and keeps on parsing. BTW, this is the same reason why you can't make a link out of a TABLE. -- Cheers Jorge.-