About KJS::HTMLCollection::getNamedItems

David Faure david at mandrakesoft.com
Mon Aug 19 15:41:39 BST 2002


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

On Friday 16 August 2002 09:36, Vadim Plessky wrote:
> On Thursday 15 August 2002 5:24 pm, David Faure wrote:
> |  -----BEGIN PGP SIGNED MESSAGE-----
> |  Hash: SHA1
> |
> |  On Thursday 15 August 2002 14:15, Koos Vriezen wrote:
> |  > > I think this is really only for forms. The fix would be to add a new
> |  > > value to the ReturnType enum in KJS::HTMLCollection, named
> |  > > "ReturnForm" (i.e. only return form elements), and add support for it
> |  > > in HTMLCollection, and use that value in kjs_html.cpp:169 if
> |  > > element.elementId() == ID_FORM.
> |  >
> |  > That would be great.
> |
> |  Actually this was a wrong approach. Much simpler is to just use the forms
> |  collection (document.forms). Same with images for consistency.
> 
> document.forms was not _forms collection_ before?  :-)
It was.
We were not talking about document.forms, but about document.myname
where myname is a form name.

- -- 
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/
KOffice-1.2-rc1 is out. ftp://ftp.kde.org/pub/kde/unstable/koffice-1.2-rc1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9YQOj72KcVAmwbhARAhg2AJ4+Pblix1CEufxH7yZTvoxfvcwrhACfTY57
L26b96/zYMzCwqZgoiBbtSM=
=aWfD
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list