[EFL] Use vertical slider theme when the slider is vertical
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2012 07:54:41 +0000 (07:54 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2012 07:54:41 +0000 (07:54 +0000)
commita43bffc1afc21cb68288fbc708b7dc4810676d5f
treedc10e7444c81fd0964d755027c0f6ac5a1fe3798
parent4370bb57e1e85a356981d2681cdb0289bebe8354
[EFL] Use vertical slider theme when the slider is vertical
https://bugs.webkit.org/show_bug.cgi?id=93838

Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-08-23
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Applied vertical slider theme to the vertical sliders. The height
of the vertical slider is wrong when it's applied horizontal
slider theme.

And do not resize slider when its size is not specified. It's natural
to use the default value of renderer.

No new tests. It's covered by existing range and datalist tests.

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

LayoutTests:

Updated expected result because theme of the slider is changed.

The size of the renderSlider is changed to 129x12 from 129x11
because it has the slider thumb 12x12 and it is not resized when
the size is not specified.

* platform/efl/fast/dom/HTMLInputElement/input-slider-update-expected.txt:
* platform/efl/fast/forms/box-shadow-override-expected.png:
* platform/efl/fast/forms/box-shadow-override-expected.txt:
* platform/efl/fast/forms/datalist/input-appearance-range-with-datalist-expected.png: Added.
* platform/efl/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png: Added.
* platform/efl/fast/forms/input-appearance-height-expected.png:
* platform/efl/fast/forms/input-appearance-height-expected.txt:
* platform/efl/fast/forms/range/input-appearance-range-expected.png:
* platform/efl/fast/forms/range/input-appearance-range-expected.txt:
* platform/efl/fast/forms/range/slider-padding-expected.png:
* platform/efl/fast/forms/range/slider-padding-expected.txt:
* platform/efl/fast/forms/range/slider-thumb-shared-style-expected.png:
* platform/efl/fast/forms/range/slider-thumb-shared-style-expected.txt:
* platform/efl/fast/repaint/slider-thumb-drag-release-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
17 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/efl/fast/dom/HTMLInputElement/input-slider-update-expected.txt
LayoutTests/platform/efl/fast/forms/box-shadow-override-expected.png
LayoutTests/platform/efl/fast/forms/box-shadow-override-expected.txt
LayoutTests/platform/efl/fast/forms/datalist/input-appearance-range-with-datalist-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/forms/input-appearance-height-expected.png
LayoutTests/platform/efl/fast/forms/input-appearance-height-expected.txt
LayoutTests/platform/efl/fast/forms/range/input-appearance-range-expected.png
LayoutTests/platform/efl/fast/forms/range/input-appearance-range-expected.txt
LayoutTests/platform/efl/fast/forms/range/slider-padding-expected.png
LayoutTests/platform/efl/fast/forms/range/slider-padding-expected.txt
LayoutTests/platform/efl/fast/forms/range/slider-thumb-shared-style-expected.png
LayoutTests/platform/efl/fast/forms/range/slider-thumb-shared-style-expected.txt
LayoutTests/platform/efl/fast/repaint/slider-thumb-drag-release-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/efl/RenderThemeEfl.cpp