Bug 12453 - REGRESSION(r19197): Tabbing into web page requires two key presses
Summary: REGRESSION(r19197): Tabbing into web page requires two key presses
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL: data:text/html,<input type="text">
Keywords: Regression
Depends on:
Blocks:
 
Reported: 2007-01-28 12:41 PST by David Kilzer (:ddkilzer)
Modified: 2007-01-28 19:41 PST (History)
1 user (show)

See Also:


Attachments
Patch with changelog (1.96 KB, patch)
2007-01-28 15:25 PST, Adam Roben (:aroben)
adele: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2007-01-28 12:41:39 PST
Summary:

When tabbing into a web page, it requires two key presses (two tabs) instead of just one.

If a text field already has focus after the page loads, the first tab moves off the page, then the second moves to the next form element.

Steps to reproduce:

1. Open Safari/WebKit.
2. Open URL:  data:text/html,<input type="text">
3. Hit tab key once.

Expected results:

Text field should be highlighted.

Actual results:

Text field is not highlighted until tab key is hit a second time.

Regression:

Works with WebKit nightly r19193.  Does not work with a locally-built debug build of WebKit r19197 with Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8N1037).
Comment 1 David Kilzer (:ddkilzer) 2007-01-28 12:47:32 PST
Rolled back to r19196 fixes this issue.  Confirmed it's an issue with r19197, which fixed this Radar issue:

<rdar://problem/4957184>
REGRESSION: After creating a new mail message, the caret is automatically in message body

Comment 2 Adam Roben (:aroben) 2007-01-28 15:25:31 PST
Created attachment 12732 [details]
Patch with changelog
Comment 3 Adam Roben (:aroben) 2007-01-28 19:41:44 PST
Landed as r19207.