WebCore:
Reviewed by Adele.
Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10935
REGRESSION: file upload control with direction:rtl or text-align:right
draws button on top of filename/icon
* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::setStyle): Force text-align to
match direction
(WebCore::RenderFileUploadControl::paintObject): Fix positioning of
the filename and icon in RTL
LayoutTests:
Reviewed by Adele.
Adding test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10935
REGRESSION: file upload control with direction:rtl or text-align:right
draws button on top of filename/icon
* fast/forms/file-input-direction-expected.checksum: Added.
* fast/forms/file-input-direction-expected.png: Added.
* fast/forms/file-input-direction-expected.txt: Added.
* fast/forms/file-input-direction.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16472
268f45cc-cd09-0410-ab3c-
d52691b4dbfc