Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

dir() function

  • 4 antwoorden
  • 3 hebben dit probleem
  • 1 weergave
  • Laatste antwoord van Hamenguai

more options

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"

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"
Gekoppelde schermafbeeldingen

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 👍 1

Alle antwoorden (4)

more options

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.

more options

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">

more options

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

more options

Reported it here: https://bugzilla.mozilla.org/show_bug.cgi?id=1428316 Thank you so much! Have a nice day!