Bug 14755 - Safari repaints for cursor blinks
Summary: Safari repaints for cursor blinks
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-24 13:24 PDT by Sridhar Gurivireddy
Modified: 2007-07-24 13:31 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sridhar Gurivireddy 2007-07-24 13:24:12 PDT
When a edit box is focussed to get the keyboard focus, Safari gets a WM_PAINT for every cursor_blink

Use SPY++ that comes with Visual studio to see the messages posted on "WebView" window.

GDI should take care of re-painting what was behind the cursor. There should not be WM_PAINT messages.

Compare with Firefox and IE to see the difference
Comment 1 Adam Roben (:aroben) 2007-07-24 13:31:06 PDT
WebKit on Windows uses CoreGraphics to draw, not GDI. This includes drawing the blinking cursor/caret. (The painting that we do for the caret is limited to the area of the caret itself, and is very fast)