PATCH - Add offset* methods to HTMLElement API

Leo Savernik l.savernik at aon.at
Wed Jan 12 16:19:54 GMT 2005


Am Mittwoch, 12. Januar 2005 16:19 schrieb Jason Keirstead:
> But I won't be adding the methods anymore since I can use getRect(), so it
> doesn't matter a whole lot.

What a pity. Now that we've come so far ;-)
>
> > All of them are HTML-elements, but aren't displayed.
>
> ... But they are still rendered by the HTML rendering engine. They just do
> not cause any painting.

No. If an element isn't displayed, it's not rendered. In fact, khtml will not 
even create a render object then. Don't start an argument about khtml 
internals, I'll beat you hands down ;-)

> However, after further inspection of the KHTML API and it's internals, I can 
> see that the KHTML XML DOM is indeed tired very closely to the renderer in 
> how it's methods behave (read: I do not believe you can use the KHTML DOM 
> independant of a KHTMLPart?).

Right. There exists kdenonbeta/kdom to alleviate this problem. Maybe khtml 
will switch to it one day.

mfg
 Leo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050112/d0a6a677/attachment.sig>


More information about the kfm-devel mailing list