[Patch] consider overflow in selection repaint rectangles

Leo Savernik l.savernik at aon.at
Tue Jun 1 12:29:19 CEST 2004


Hello,

Blocks with an overflowWidth/overflowHeight didn't have their selections 
updated appropriately. I fixed this by using overflowWidth/overflowHeight in 
render_canvas.cpp's enclosingPositionedRect where necessary.

I wonder if this is correct wrt to layers (overflow:scroll).

I furthermore wonder if WebCore suffers from the same problem, or if it solves 
the repaint issue in another way.

Please see the testcase for further information.

mfg
	Leo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml_selection_21.diff
Type: text/x-diff
Size: 835 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/khtml-devel/attachments/20040601/ac804d32/khtml_selection_21.bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/khtml-devel/attachments/20040601/ac804d32/overflow2.html


More information about the Khtml-devel mailing list