RESOLVED FIXED 9236
REGRESSION: focus method does not work on some elements before they are laid out
https://bugs.webkit.org/show_bug.cgi?id=9236
Summary REGRESSION: focus method does not work on some elements before they are laid out
Darin Adler
Reported 2006-06-02 08:47:51 PDT
The fast/forms/access-key.html layout test is failing. That's because the focus method isn't working because the page isn't laid out yet; the input element still has a width of 0. Easy to fix.
Attachments
patch (1.09 KB, patch)
2006-06-02 08:51 PDT, Darin Adler
ggaren: review+
Darin Adler
Comment 1 2006-06-02 08:48:16 PDT
This must be a regression since the test used to work.
Darin Adler
Comment 2 2006-06-02 08:51:01 PDT
Darin Adler
Comment 3 2006-06-02 09:06:12 PDT
Mitz found where this regressed. Change 14666 for bug <rdar://problem/4567752> rearranged Element::focus, putting the isFocusable call before the layout.
Geoffrey Garen
Comment 4 2006-06-02 10:54:24 PDT
Comment on attachment 8666 [details] patch r=me
Timothy Hatcher
Comment 5 2006-06-02 17:15:41 PDT
Maciej landed this in r14699.
Note You need to log in before you can comment on or make changes to this bug.