A divot (chunk) of the focus ring is removed in the lower left-hand corner while typing and scrolling in a textarea.
Steps to reproduce:
1. Open data: URL in bug.
2. Focus textarea (click in it or tab into it).
3. Hit Enter key 8 times. [NOTE: Another bug ignores the first Enter key in a textarea on a newly loaded page.]
4. Type one printable character (even a space).
5. Hit Enter key once.
6. Type one printable character again.
No divot should be removed from textarea focus ring.
A divot is removed from the textarea focus ring.
This does not occur in shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8N1037). Tested on locally-built debug build of WebKit r18411.
NOTE: The divot may also appear farther to the right during word-wrap operations when typing at the bottom of a textarea with a scrollbar visible. (I haven't quite figured out how to reproduce this reliably, but it happens when entering a new Bugzilla bug while typing the initial description.)
Created attachment 12018 [details]
Screenshot of divot
Created attachment 13360 [details]
Focus ring repaint test case
This is a bug in damage repair of focus rings. You can see it better if you scroll the square in this test case slowly into view. The root cause is probably WebCore's workaround for the CG quirk where focus rings aren't clipped.
Actually, in the test case in the URL, the bug can be reproduced even with a solid outline, because of bug 11548. If you change the textarea to be display: block, then the bug becomes exclusive to focus rings (outline-style: auto).
I can't reproduce the original bug Comment #0 using a local debug build of WebKit r21489. Mitz's test case still reproduces, though.
(In reply to comment #6)
> I can't reproduce the original bug Comment #0 using a local debug build of
> WebKit r21489. Mitz's test case still reproduces, though.
Just saw this again filling out the feedback form on this page:
Using a local debug build of WebKit r21908 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).
<http://trac.webkit.org/projects/webkit/changeset/28523> fixed the focus-ring specific issues. The rest of the problem is tracked by bug 11548.