dir() function
Please help me with a :dir() function (https://developer.mozilla.org/en-US/docs/Web/CSS/%3Adir ) - that function does not works in the latest versions of Browser, since I need it work for the mixed text content while using Arabic, Persian or Hebrew language. I saw that Browser compatibility is only for 17 — 53 FF versions, but the same function at my webpage successfully works in Chrome and Opera. Can you please support it in the latest versions of Browser or tell me what function can be used instead?
value="ایجاد از روی WLP"
Gekozen oplossing
You're right. With dir="auto" it is not inverted, but with dir="rtl" it is inverted.
You can create an issue on https://bugzilla.mozilla.org/enter_bug.cgi
Dit antwoord in context lezen 👍 1Alle antwoorden (4)
The doc says, that it works
- in 17 — 53 with -moz prefix
- in 49 and above without the prefix
Provided examples are working for me in 59.
Checked in FF59 - an issue is still there. The point is that text "ایجاد از روی WLP" should be inverted to "WLP ایجاد از روی" with that function. And it does happen in Chrome, since does not work in FF.
You can check it here: https://cms.wialon.com/ with credentials firefox_test/1234. Do not forget to change language before login.
html line is following: <input billing="import_export" type="button" id="devices_create_target_wlp" value="ایجاد از روی WLP" style="width: 170px;margin-top: 5px;" dir="auto">
Gekozen oplossing
You're right. With dir="auto" it is not inverted, but with dir="rtl" it is inverted.
You can create an issue on https://bugzilla.mozilla.org/enter_bug.cgi
Reported it here: https://bugzilla.mozilla.org/show_bug.cgi?id=1428316 Thank you so much! Have a nice day!