Changeset 40645 in webkit for trunk/JavaScriptCore/wtf/Platform.h


Ignore:
Timestamp:
Feb 4, 2009, 4:27:35 PM (16 years ago)
Author:
[email protected]
Message:

2009-02-04 Cary Clark <[email protected]>

Reviewed by Eric Seidel.

Fixes: https://bugs.webkit.org/show_bug.cgi?id=22917

Add ENABLE_ON_FIRST_TEXTAREA_FOCUS_SELECT_ALL to permit the ANDROID
platform to select all when focusing on a textarea. This matches
the user interface guidelines other applications on the platform.

  • html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::updateFocusAppearance):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Platform.h

    r40439 r40645  
    437437#endif
    438438
     439#if !defined(ENABLE_ON_FIRST_TEXTAREA_FOCUS_SELECT_ALL)
     440#define ENABLE_ON_FIRST_TEXTAREA_FOCUS_SELECT_ALL 0
     441#endif
     442
    439443#if !defined(WTF_USE_ALTERNATE_JSIMMEDIATE) && PLATFORM(X86_64) && PLATFORM(MAC)
    440444#define WTF_USE_ALTERNATE_JSIMMEDIATE 1
Note: See TracChangeset for help on using the changeset viewer.