Full stop shows to the right of the picture-in-picture localised string in Hebrew
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Jun 2017 17:54:32 +0000 (17:54 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Jun 2017 17:54:32 +0000 (17:54 +0000)
commit77e05b9755acb3994699690f61ea9d9a3853101f
treea72493cd47732ea34dde7ad0a3afece249ab2833
parent4c01f5308369c61405dd34baea34290c47a495f5
Full stop shows to the right of the picture-in-picture localised string in Hebrew
https://bugs.webkit.org/show_bug.cgi?id=173966
<rdar://problem/32847376>

Patch by Antoine Quint <graouts@apple.com> on 2017-06-29
Reviewed by Dean Jackson.

Source/WebCore:

We manually set the CSS "direction" property to "rtl" when we're not using an LTR language for a placard.

Test: media/modern-media-controls/placard/placard-ltr.html

* Modules/modern-media-controls/controls/placard.css:
(.media-controls:not(.uses-ltr-user-interface-layout-direction) .placard):

LayoutTests:

* media/modern-media-controls/placard/placard-ltr-expected.txt: Added.
* media/modern-media-controls/placard/placard-ltr.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/modern-media-controls/placard/placard-ltr-expected.txt [new file with mode: 0644]
LayoutTests/media/modern-media-controls/placard/placard-ltr.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/modern-media-controls/controls/placard.css