DOM spec changed a few types

David Faure david at mandrakesoft.com
Thu Oct 3 12:50:54 BST 2002


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

A few data types have been changed in the DOM spec:

HTMLImageElement::border changed from long to DOMString
HTMLBaseFontElement::size changed from DOMString to long
HTMLApplet/ObjectElement::hspace/vspace changed from DOMString to long

HTMLInputElement::size was always a long, we used a string because
of a small bug in http://www.w3.org/TR/REC-html40/interact/forms.html#adef-size-INPUT,
I reported it today.

The problem is that those changes are BIC and SIC: _if_ there's some code
out there using our C++ DOM bindings, it will be broken by those changes,
no matter how "sane" they are.

But OTOH I'd like to see this fixed, at least in the ECMA bindings, to pass the
DOM-TestSuite tests (well, when they are updated for those changes).
This is slightly separate though, I could revert all the C++ changes (for now)
and simply change the types returned by the ECMA bindings. That's a bit
unclean though.

- -- 
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/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9nC8e72KcVAmwbhARAqCuAJ9uJX8l+nQhIST73+nOBFkuCWtHTACfdTC4
infINrqG8S4d996me0sFIX4=
=ygp5
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dom_changes.diff
Type: text/x-diff
Size: 19547 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20021003/55988cc7/attachment.diff>


More information about the kfm-devel mailing list