PATCH - Add offset* methods to HTMLElement API
David Faure
faure at kde.org
Wed Jan 12 18:17:03 GMT 2005
On Wednesday 12 January 2005 16:27, Jason Keirstead wrote:
> On Wednesday 12 January 2005 11:20 am, David Faure wrote:
> > Well, ideally KHTML could also be used to parse HTML into a DOM tree
> > without rendering... And yet getRect and offsetLeft/offsetTop methods
> > exist, for convenience, that's unrelated, and certainly not specific to
> > HTML (it's all true for XML too).
>
> I suppose, in an ideal world, these types of methods would be implimented
> inside a RenderedNode type of object rather than the Node object itself.
That ideal world would be more complex than it needs to be, though :-)
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list