[Patch] consider overflow in selection repaint rectangles
David Hyatt
hyatt at apple.com
Wed Jun 2 23:28:28 CEST 2004
Hey Leo.
Yeah, we have this bug too.
It's on my list of "things to do" to rewrite selection painting so that
it really only paints the selection rects that have changed (rather
than repainting an enclosing containing block).
This is especially bad in current Safaris where I've implemented the
WinIE quirk of making the <body> fill the viewport. This quirk means
any selection you drag inside the <body> now causes the entire viewport
to repaint!
dave
On Jun 1, 2004, at 3:29 AM, Leo Savernik wrote:
> 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
> <khtml_selection_21.diff><overflow2.html>______________________________
> _________________
> Khtml-devel at kde.org
> https://mail.kde.org/mailman/listinfo/khtml-devel
More information about the Khtml-devel
mailing list