[CherryPick] [EFL] Cancel mark on search field is not displayed
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Mar 2013 10:13:19 +0000 (10:13 +0000)
committerGerrit Code Review <gerrit2@kim11>
Tue, 30 Apr 2013 10:38:23 +0000 (19:38 +0900)
commitbc7762cafc1cfdb26566151ad0afa06bfcf41c1b
treef01d47a91c0bddc3df1ba480985d7bc9c7439871
parentbb2bc101c7aa6e299feec04b5077f7d4c9087aed
[CherryPick] [EFL] Cancel mark on search field is not displayed

[EFL] Cancel mark on search field is not displayed
https://bugs.webkit.org/show_bug.cgi?id=94880

Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

adjustSearchFieldCancelButtonStyle() doesn't set style width and height for search cancel button.
So, the button isn't showing up in search input field. Besides the button size should be scaled based
on the font size as chromium, qt, and blackberry ports.

Tests: fast/forms/search-cancel-button-style-sharing.html
       fast/forms/search-rtl.html

* platform/efl/RenderThemeEfl.cpp:
(WebCore):
(WebCore::RenderThemeEfl::adjustSearchFieldCancelButtonStyle):

LayoutTests:

Rebaseline expected results related to search cancel button.

* platform/efl-wk1/TestExpectations: These tests don't work with WK1 pixel test yet.
* platform/efl/TestExpectations:
* platform/efl/fast/forms/search-cancel-button-style-sharing-expected.png:
* platform/efl/fast/forms/search-cancel-button-style-sharing-expected.txt:
* platform/efl/fast/forms/search-rtl-expected.png:
* platform/efl/fast/forms/search-rtl-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146050 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Conflicts:

LayoutTests/ChangeLog
LayoutTests/platform/efl-wk1/TestExpectations
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/efl/fast/forms/search-cancel-button-style-sharing-expected.png
LayoutTests/platform/efl/fast/forms/search-cancel-button-style-sharing-expected.txt
LayoutTests/platform/efl/fast/forms/search-rtl-expected.png
LayoutTests/platform/efl/fast/forms/search-rtl-expected.txt
Source/WebCore/ChangeLog

Change-Id: Ie75c38ec713bf6b60264dce04d468c74ae2f9004
LayoutTests/ChangeLog
LayoutTests/platform/efl-wk1/TestExpectations [new file with mode: 0644]
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/efl/fast/forms/search-cancel-button-style-sharing-expected.txt
LayoutTests/platform/efl/fast/forms/search-rtl-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/efl/RenderThemeEfl.cpp