Bernd schrieb:

If I understand it correctly then after the HTML is parsed then there
exists a tree of TIpHtmlNode objects and each node holds a reference
to the appropriate TCSSProps object, it should not be needed to look
them up more than once for each node upon construction of this node
unless for some reason the entire html tree is is destroyed and built
up from scratch again and I don't see why this should be necessary on
every scroll event.

ACK, a direct reference to the CSS object should be stored.

The next step should be to find out what exactly
is going on during a scroll event that causes this to happen every
time.

The font size can affect the height of the HTML items, which is required during scrolling.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to