Bug 8213 - REGRESSION: Can't tab out of text field if iframe comes after it
Summary: REGRESSION: Can't tab out of text field if iframe comes after it
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Adele Peterson
Keywords: InRadar, Regression
Depends on:
Reported: 2006-04-06 12:16 PDT by Chris Petersen
Modified: 2006-04-21 18:27 PDT (History)
1 user (show)

See Also:

Reduced test case from site (818 bytes, text/html)
2006-04-06 12:17 PDT, Chris Petersen
no flags Details
reduction (188 bytes, text/html)
2006-04-08 10:42 PDT, Justin Garcia
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petersen 2006-04-06 12:16:55 PDT
4/6/06 11:38 AM Chris Petersen:
I noticed a issue at online.barrons.com where I couldn't tab to the address URL from a input field on the page. The site uses javascript that appears to cause this issue when native text fields are enabled. 

I have reduced the page down to a test case that reproduces this issue (barron2.html)

1. With TOT WebKit, go to http://online.barrons.com/reg/promo/bolmarkpromo
2. It should redirect to https://users2.barrons.com/registration/do/standard/stage1
3. Go to last field called "Enter your account number ". Place caret in this field then press the tab key
4. Instead of going to the address URL field, focus remains in this field

Pressing tab key in last field should place focus in address URL field. However, focus remains in last field after pressing tab key.

Yes this only appear to happens with native text fields.

As mentioned before, I have reduced this page to s simple test case. I have tried to include only the required JS functions that appear to be needed to reproduce for me.
Comment 1 Chris Petersen 2006-04-06 12:17:35 PDT
Created attachment 7541 [details]
Reduced test case from site
Comment 2 Chris Petersen 2006-04-06 12:19:16 PDT
This has been also filed as <rdar://problem/4504961>
Comment 3 Justin Garcia 2006-04-08 10:42:11 PDT
Created attachment 7581 [details]
Comment 4 Adele Peterson 2006-04-21 17:14:04 PDT
You don't have to dynamically add the iframe. This will also repro the bug:


Updating title.