DOM Level 2 HTML (fwd)

David Faure david at mandrakesoft.com
Thu Aug 8 10:12:26 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 07 August 2002 16:57, Philippe Le Hegaret wrote:
> > I guess the first step would be to try out the "DOM Level 1" tests inside Konqueror,
> > to see if there's any framework problem. I'll try doing that today.

Ok, I have found out what goes wrong when trying to run /k/DOMTSL1Core-20020213.tar.gz
in konqueror (current CVS).

The TOC-generation in index.htm doesn't work, because the document has an
XHTML doctype (and uses accordingly lowercase tag names), but the
Javascript code (in resources/toc.js) calls
getElementsByTagName("DIV")
getElementsByTagName("H2")
etc. (using uppercase tag names)

Due to the XHTML declaration, khtml looks for lowercase tag names,
and doesn't understand what DIV and H2 are about.
Is that a khtml bug, or is that behaviour correct (and toc.js wrong) ?

Dirk: DocumentImpl::tagId is where the "problem" is.

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Back from holidays
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9UjX772KcVAmwbhARAorbAJ9xx1Gk79FXXKHAzNa44DAaEq4R0QCfWvge
CfjLWxHhnmTcS0F6gAys92A=
=iyyY
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list