Bug 55063 - @autofocus on new element transfers caret, but not :focus styles
Summary: @autofocus on new element transfers caret, but not :focus styles
Status: RESOLVED DUPLICATE of bug 46088
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://jsbin.com/aboyu4
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 11:07 PST by Paul Irish
Modified: 2011-03-09 16:06 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Irish 2011-02-23 11:07:19 PST
As shown in the demo: http://jsbin.com/aboyu4 ..

If another input is shown, that incorporates autofocus, the focus caret moves (correctly), but the :focus style remain on the previously focused input.
Comment 1 Paul Irish 2011-02-23 11:10:13 PST
Potentially related to Issue 46088
Comment 2 Kent Tamura 2011-03-09 16:06:50 PST

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