w3c / i18n-drafts

A place to edit articles, tutorials, and the like for the /International subtree of the W3C site. Also, captures issues and comments.
63 stars 61 forks source link

[questions/qa-ltr-scripts-in-rtl] RLO and LRO #512

Open xfq opened 1 year ago

xfq commented 1 year ago

https://www.w3.org/International/questions/qa-ltr-scripts-in-rtl#styling_summary

Wrap your text in an element with the class attribute set to something like rlo, and associate it with CSS directional properties.

If your text includes any characters that need to run left-to-right, nest those in a bdi element with class set to something like lro.

It would be useful to briefly explain what rlo and lro mean, as the audience of this article may not be familiar with Unicode controls for bidi text.