KHTML: handling of invalid <a> tags

Leo Savernik l.savernik at aon.at
Mon May 23 15:41:32 BST 2005


Am Montag, 23. Mai 2005 11:49 schrieb Allan Sandfeld Jensen:
> > <a href="javascript:alert('Hello World!')"/><big>Click Here</big>
> > is equivalent to
> > <a href="javascript:alert('Hello World!')"></a><big>Click Here</big>
> >
> > (see the W3C XHTML specs to undestand usage of '/' for closing elements)
> >
> > In this case, it is actually Mozilla which should have a bug filed with
> > it. No browser should apply a link in this case to the <big> element.
>
> That is only true in XHTML. In HTML the ending / is just ignored. It is a
> general problem in KHTML that we do not ignore it.

Then this is the actual cause of grief. KHTML should do it like NN4, Mozilla, 
and IE.

mfg
	Leo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050523/75b06a21/attachment.sig>


More information about the kfm-devel mailing list