WebCore's text selection improvements

Leo Savernik l.savernik at aon.at
Mon Sep 22 15:26:42 CEST 2003


Hello,

I looked at the text selection improvements of WebCore. There is a 
PaintSelection action in the paint methods that strives to only paint the 
selected parts. However, I don't see the spot where the paint event with the 
PaintSelection action is triggered (within RenderCanvas::setSelection, for 
instance).

Then there's another question about KWQScrollview::updateContents(const QRect 
&, bool now). What's the difference between updateContents(..., true) and 
paintContents(...)? Do subsequent calls to updateContents unite the paint 
rectangle to one single paint event? In Qt, they do, but interpreting 
WebCore's implementation, they do *not*.

Thanks in advance.

mfg
	Leo



More information about the Khtml-devel mailing list