Bug 55063
| Summary: | @autofocus on new element transfers caret, but not :focus styles | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Paul Irish <paulirish> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ap, tkent |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.6 | ||
| URL: | http://jsbin.com/aboyu4 | ||
Paul Irish
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Paul Irish
Potentially related to Issue 46088
Kent Tamura
*** This bug has been marked as a duplicate of bug 46088 ***