Potential XHTML problem with Konqueror from CVS

Stephan Kulow coolo at kde.org
Fri Aug 6 12:53:04 BST 2004


Am Freitag 06 August 2004 03:13 schrieb CP Hennessy:

> Now in konqi when I have a bit of javascript to do :
>   node.tagName == "UL"
> to see if a node is UL or not it fails as the tagName returned is "ul".
>
> However if I change the DOCTYPE to remove the "XHTML" the test succeeds.
> I think that this is a bug but I am not sure of the relevant standards.
> However the following seems to indicate that lowercase is correct :
> http://www.w3.org/TR/xhtml1/#h-4.2.
> At a minimum Mozilla returns "UL" in both cases.
>
That's irrelevant, that's XHTML, you're using DOM:
http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-822762427

I would say konqueror behaves as specified

Greetings, Stephan




More information about the kfm-devel mailing list