Skip to content
  • justin.garcia@apple.com's avatar
    WebCore: · d919c450
    justin.garcia@apple.com authored
    2009-04-13  Justin Garcia  <justin.garcia@apple.com>
    
            Reviewed by Adele Peterson.
    
            https://bugs.webkit.org/show_bug.cgi?id=25153
            Can't place the caret into text field that scrolls the window on focus
            
            We refetch the target node in the shadow node case, and when we do so the window coordinate for the mouse event may
            be invalid because of scrolling that the focus handler did.  Cache the document point (that we derived from the window
            coordinate) and use that any time we refetch.
    
            * page/EventHandler.cpp:
            (WebCore::documentPointForWindowPoint):
            (WebCore::EventHandler::handleMousePressEvent):
            (WebCore::EventHandler::prepareMouseEvent):
    
    LayoutTests:
    
    2009-04-13  Justin Garcia  <justin.garcia@apple.com>
    
            Reviewed by Adele Peterson.
            
            <rdar://problem/6748324> REGRESSION (Kirkwood): Can't type in Netflix search field
    
            * fast/forms/25153-expected.txt: Added.
            * fast/forms/25153.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d919c450