Changeset 40654 in webkit


Ignore:
Timestamp:
Feb 4, 2009 5:26:15 PM (15 years ago)
Author:
eric@webkit.org
Message:

Reviewed by George Staikos.

Reverse the meaning of the if check so that Android
(dpad devices) do not scroll on focus and normal platforms do
http://trac.webkit.org/changeset/40647

This was caught by George Staikos, and I wrote the patch.

  • dom/Element.cpp: (WebCore::Element::updateFocusAppearance):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r40651 r40654  
     12009-02-04  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by George Staikos.
     4
     5        Reverse the meaning of the if check so that Android
     6        (dpad devices) do not scroll on focus and normal platforms do
     7        http://trac.webkit.org/changeset/40647
     8       
     9        This was caught by George Staikos, and I wrote the patch.
     10
     11        * dom/Element.cpp:
     12        (WebCore::Element::updateFocusAppearance):
     13
    1142009-02-04  David Hyatt  <hyatt@apple.com>
    215
  • trunk/WebCore/dom/Element.cpp

    r40647 r40654  
    11121112            frame->revealSelection();
    11131113        }
    1114     }
    1115 #if ENABLE(DIRECTIONAL_PAD_NAVIGATION)
     1114    }
     1115    // FIXME: I'm not sure all devices will want this off, but this is
     1116    // currently turned off for Andriod.
     1117#if !ENABLE(DIRECTIONAL_PAD_NAVIGATION)
    11161118    else if (renderer() && !renderer()->isWidget())
    11171119        renderer()->enclosingLayer()->scrollRectToVisible(getRect());
Note: See TracChangeset for help on using the changeset viewer.