Bug 14755
| Summary: | Safari repaints for cursor blinks | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sridhar Gurivireddy <just1gb> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 523.x (Safari 3) | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
Sridhar Gurivireddy
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
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)