Reviewed by Geoff, checked in by Maciej.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Jun 2006 00:19:02 +0000 (00:19 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Jun 2006 00:19:02 +0000 (00:19 +0000)
commit39a2a6621be918724d196e92357b3cc3c2317b13
treeb7c056d29e33ea34510231fdc611982648ef1c22
parenta1e0c2c03e714ab454f7a0af59b4509a17cd443a
    Reviewed by Geoff, checked in by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9236
        REGRESSION: focus method does not work on some elements before they are laid out

        * dom/Element.cpp: (WebCore::Element::focus): Do the updateLayout call before
        calling isFocusable, since isFocusable looks at the size of the renderer.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/dom/Element.cpp