RESOLVED FIXED 11966
REGRESSION: Divot removed from focus ring when typing and scrolling in textarea
https://bugs.webkit.org/show_bug.cgi?id=11966
Summary REGRESSION: Divot removed from focus ring when typing and scrolling in textarea
David Kilzer (:ddkilzer)
Reported 2006-12-25 07:42:22 PST
Summary: 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. Expected results: No divot should be removed from textarea focus ring. Actual results: A divot is removed from the textarea focus ring. Regression: 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. Notes: None.
Attachments
Screenshot of divot (3.18 KB, image/png)
2006-12-25 07:48 PST, David Kilzer (:ddkilzer)
no flags
Focus ring repaint test case (131 bytes, text/html)
2007-02-24 03:51 PST, mitz
no flags
David Kilzer (:ddkilzer)
Comment 1 2006-12-25 07:46:36 PST
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.)
David Kilzer (:ddkilzer)
Comment 2 2006-12-25 07:48:37 PST
Created attachment 12018 [details] Screenshot of divot
Mark Rowe (bdash)
Comment 3 2007-01-17 16:26:35 PST
mitz
Comment 4 2007-02-24 03:51:35 PST
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.
mitz
Comment 5 2007-02-24 03:54:13 PST
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).
David Kilzer (:ddkilzer)
Comment 6 2007-05-15 16:40:09 PDT
I can't reproduce the original bug Comment #0 using a local debug build of WebKit r21489. Mitz's test case still reproduces, though.
David Kilzer (:ddkilzer)
Comment 7 2007-06-03 07:21:55 PDT
(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: http://developer.apple.com/contact/ Using a local debug build of WebKit r21908 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).
mitz
Comment 8 2007-12-07 11:32:02 PST
<http://trac.webkit.org/projects/webkit/changeset/28523> fixed the focus-ring specific issues. The rest of the problem is tracked by bug 11548.
Note You need to log in before you can comment on or make changes to this bug.