Changeset 127723 in webkit


Ignore:
Timestamp:
Sep 6, 2012 3:47:42 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Keep placeholder text visible until first input from user.
https://bugs.webkit.org/show_bug.cgi?id=95851

Patch by Kangil Han <kangil.han@samsung.com> on 2012-09-06
Reviewed by Gyuyoung Kim.

Current specification, http://dev.w3.org/html5/spec/single-page.html#attr-input-placeholder, has allowed user agent to keep placeholder text until first input.
Therefore, this patch enabled it.

  • platform/efl/RenderThemeEfl.h:

(WebCore::RenderThemeEfl::shouldShowPlaceholderWhenFocused):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r127718 r127723  
     12012-09-06  Kangil Han  <kangil.han@samsung.com>
     2
     3        [EFL] Keep placeholder text visible until first input from user.
     4        https://bugs.webkit.org/show_bug.cgi?id=95851
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        Current specification, http://dev.w3.org/html5/spec/single-page.html#attr-input-placeholder, has allowed user agent to keep placeholder text until first input.
     9        Therefore, this patch enabled it.
     10
     11        * platform/efl/RenderThemeEfl.h:
     12        (WebCore::RenderThemeEfl::shouldShowPlaceholderWhenFocused):
     13
    1142012-09-06  Elliott Sprehn  <esprehn@chromium.org>
    215
  • trunk/Source/WebCore/platform/efl/RenderThemeEfl.h

    r127607 r127723  
    206206    virtual bool paintMediaCurrentTime(RenderObject*, const PaintInfo&, const IntRect&);
    207207#endif
     208    virtual bool shouldShowPlaceholderWhenFocused() const OVERRIDE { return true; }
    208209
    209210    void setThemePath(const String&);
Note: See TracChangeset for help on using the changeset viewer.