Bug 20672
Summary: | window.open doesn't focus inputs properly on windows | ||
---|---|---|---|
Product: | WebKit | Reporter: | Anoakie Turner <woolite> |
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | CC: | jberlin, mmantel2 |
Priority: | P2 | ||
Version: | 525.x (Safari 3.1) | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://www.htmlbugs.com/uploads/PopupFocusTest.html |
Anoakie Turner
Steps to reproduce:
1) Go to http://www.htmlbugs.com/uploads/PopupFocusTest.html
2) Click on 'Open Popup'
3) Type something
Actual Results:
No text is entered into the field under the 'Open Popup' text.
Expected Results:
Text should have appeared in the field under the 'Open Popup' text.
Build Date & Platform:
Build r36108 on Windows XP
Additional Builds and Platforms:
- Also Occurs On
Safari 3.1.2 (525.21) on Windows XP
- Doesn't Occur On
Firefox 3.0.1 on Mac OSX Intel
Firefox 3.0.1 on Windows XP
Internet Explorer 7.0 on Windows XP
Chromium .2 on Windows XP
Safari 3.1.2 (5525.20.1) on Mac OSX Intel
Additional Information:
When the popup window is created, the focus_input input receives the focus event because of an onload on the body, which fires the onfocus on the input, which writes the message to focus_message div, but the focus_input input isn't actually focused. Clicking in the field puts the focus circle around the input, but the onfocus event isn't fired again.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Mantel
I am able to reproduce this bug in Safari 3.2.3 on WinXP, but it seems to be fixed in Safari 4.0.4.