PATCH - Add offset* methods to HTMLElement API

Jason Keirstead jason at keirstead.org
Wed Jan 12 15:27:16 GMT 2005


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.

-- 
If you wait by the river long enough, eventually
you will see the bodies of all your enemies float by.
    - Sun Tzu




More information about the kfm-devel mailing list