Bug 14050 - Text field focus ring overdrawn by button click animation when submitting form with Enter key
Summary: Text field focus ring overdrawn by button click animation when submitting for...
Status: RESOLVED DUPLICATE of bug 22159
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.google.com/
Keywords: GoogleBug, HasReduction
Depends on:
Blocks:
 
Reported: 2007-06-09 16:09 PDT by David Kilzer (:ddkilzer)
Modified: 2009-06-02 09:56 PDT (History)
2 users (show)

See Also:


Attachments
Manual test case (311 bytes, text/html)
2007-06-09 16:39 PDT, David Kilzer (:ddkilzer)
no flags Details
Gratuitous movie showing issue on Google (23.51 KB, video/quicktime)
2007-06-09 16:59 PDT, David Kilzer (:ddkilzer)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2007-06-09 16:09:42 PDT
* SUMMARY
The text field focus ring is overdrawn by the button click animation on www.google.com when the Enter key is used to submit the form.

Note that when clicking the button with the mouse, the focus ring on the text field is removed before the button click animation, thus preventing this issue.

* STEPS TO REPRODUCE
1. Launch WebKit/Safari.
2. Go to URL:  http://www.google.com/
3. Focus the text field used for search (via mouse or tab key).
4. Type witty search terms (like "asdf").
5. Hit Enter key.  (DO NOT click the search button with the mouse, or use the tab key to focus the search button.)

* EXPECTED RESULTS
The button click animation should not draw over the text field focus ring.

* ACTUAL RESULTS
The button click animation draws over the text field focus ring.

* REGRESSION
This is not a regression from shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135) as that version behaves the same way.  Tested with a local debug build of WebKit r22080 with the above software.

* NOTES
The correct fix is probably to remove the focus ring from the text field before the button click animation occurs for form submittal.
Comment 1 David Kilzer (:ddkilzer) 2007-06-09 16:39:43 PDT
Created attachment 14915 [details]
Manual test case
Comment 2 David Kilzer (:ddkilzer) 2007-06-09 16:59:20 PDT
Created attachment 14916 [details]
Gratuitous movie showing issue on Google
Comment 3 mitz 2007-12-07 14:15:15 PST
Not specific to focus rings, a solid outline also gets damaged.
Comment 4 mitz 2009-06-01 23:50:07 PDT
I think this is fixed.
Comment 5 David Kilzer (:ddkilzer) 2009-06-02 08:41:20 PDT
(In reply to comment #4)
> I think this is fixed.

Yes this seems to be fixed now with the latest nightly builds!
Comment 6 David Kilzer (:ddkilzer) 2009-06-02 09:41:36 PDT
Fixed somewhere between r38605 (bug still reproduces) and r38679 (bug is fixed).
Comment 7 mitz 2009-06-02 09:53:28 PDT
I am guessing <http://trac.webkit.org/changeset/38651>, the fix for bug 19623.
Comment 8 David Kilzer (:ddkilzer) 2009-06-02 09:54:23 PDT
(In reply to comment #6)
> Fixed somewhere between r38605 (bug still reproduces) and r38679 (bug is
> fixed).

That was with autospade.  Using bisect-builds, we have:

Fails: r38676  Works: r38683

Thus it was fixed between r38676 and r38679.  Likely fixed by r38678:

http://trac.webkit.org/changeset/38678
Comment 9 mitz 2009-06-02 09:55:14 PDT
(In reply to comment #8)
> (In reply to comment #6)
> > Fixed somewhere between r38605 (bug still reproduces) and r38679 (bug is
> > fixed).
> 
> That was with autospade.  Using bisect-builds, we have:
> 
> Fails: r38676  Works: r38683
> 
> Thus it was fixed between r38676 and r38679.  Likely fixed by r38678:
> 
> http://trac.webkit.org/changeset/38678
> 

Yes. My last comment was wrong.
Comment 10 David Kilzer (:ddkilzer) 2009-06-02 09:55:55 PDT
(In reply to comment #7)
> I am guessing <http://trac.webkit.org/changeset/38651>, the fix for bug 19623.

But you would be wrong.  :)  See Bug 22159 which was fixed in r38678.
Comment 11 David Kilzer (:ddkilzer) 2009-06-02 09:56:04 PDT

*** This bug has been marked as a duplicate of 22159 ***